Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-21937

Plan configuration - Stages - Plan contents : Drag and drop feature is not keyboard accessible.

XMLWordPrintable

      Issue Summary

      General - Drag and drop feature is not keyboard accessible.

      Element name:

      • Default stage
      • Stage 2
      • Stage 2

      Location of the elements: List of plans section, under the "Plan contents" heading section, in the main content.

      Steps to Reproduce

      1. Open the home page
      2. Navigate to the "Project" link and activate it.
      3. Select the project link from the main content and activate it.
      4. Navigate to the "Configure Plan" link to activate it 
      5. Navigate to the mentioned instances and observe that using the mouse user can perform the drag and drop functionality
      6. Observe the functionality is not accessible for the keyboard-only and screen reader users.

      Actual Results

      While navigating with the keyboard, when the user navigates to the interactive elements such as "Default Stage", "Default Job", "Sam" and so on, it can’t be dragged & dropped from one location to another. The element to drag/drop widget doesn’t receive keyboard focus. Also, the screen reader users are not aware of the drag & drop functionality since the screen reader doesn’t announce any information which conveys the functionality to users.

      This makes it keyboard-only users & screen reader users difficult to perform the drag & drop operations effectively.

      Expected Results

      Make sure the drag-and-drop functionality is accessible for the keyboard only and screen reader users.

      Provide shortcut methods for screen reader and keyboard-only users and by providing hidden instructions announce the functionality to the users.

      The users should be able to drag & drop stages with the keyboard alone. Also, there should be instructions on the page providing Information on accessing drag & drop functionality with the keyboard.

      Following are the expected keyboard interactions.

      • "Tab" key to navigate to the stages.
      • "Space" key to drag/drop the stages.
      • "Left/Right" keys to move the stages horizontally to different columns.
      • "Up/Down" keys to move the stages vertically in a particular column.

      Also, the drag & drop functionality should be accessible for screen reader users. This can be achieved by providing instruction (off-screen) in ARIA live region for screen reader users.

      • When the user navigates to any issue (draggable item)
        For Example: "Draggable item. Ensure your screen reader is not in browse mode and then press the space bar to lift."
      • When a user drags/lifts an issue
        For Example: "You have lifted an stages in ‘Location 1’. Use the arrow keys to move, space bar to drop, and escape to cancel."
      • When the user moves the issue from one column to another via arrow keys.
        For Example: "You have moved an item from ‘Location 1’ to “Location 2”. Use the arrow keys to move, space bar to drop, and escape to cancel."
      • When the user drops the issue.
        For Example: " You have dropped the stages. You have moved the issue from "Location 1" to the "Location 2"

      The First instruction regarding the Draggable item should be associated with the issue element via the aria-describedby attribute in the source code.

      The other instructions regarding drag/move/drop should be marked inside a live region. It should have aria-live="assertive", role="log", aria-atomic="true", etc attributes to ensure that the screen reader announces every time the user interacts with the issues.

      Please refer to this link for accessible drag and drop functionality:

      https://pauljadam.com/demos/drag-drop.html

      https://www.w3.org/wiki/PF/ARIA/BestPractices/DragDrop

      Screenshot

      Workaround

      Not Available

      Bug Ref: 460017

        1. Screenshot 2022-11-28 at 4.32.42 PM.png
          554 kB
          Rahil Shaikh
        2. Screen Recording 2023-05-29 at 5.40.10 PM.mov
          10.52 MB
          Rahil Shaikh

              a1c8fa23f643 Andrey Ivanov (Inactive)
              12b69dcabe29 Matthew Brennan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: