Rebasing Cannot be undone Modal: Tooltip content inaccessible for keyboard only user

XMLWordPrintable

    Issue Summary

    In the Rebasing Cannot be undone Modal the tooltips available to show the path of the branch are inaccessible for keyboard-only users.

    Steps to Reproduce

    1. Launch the URL
    2. Navigate to the more action button and activate the "Rebase" option from the dropdown menu.
    3. Navigate on the branch information on the appeared modal with mouse hover.

    Screenshot

     

    Screen recording

    Screen Recording 2022-05-02 at 1.35.15 PM.mov

    Actual Results

    In the Rebasing Cannot be undone Modal the tooltip which is available on mouse hover on the branch, is not accessible by keyboard-only users. The element uses device-dependent event handlers and is therefore not accessible by keyboard alone. This made it difficult for users with mobility and visual impairments to access the tooltip content. 

    Expected Results

    The following changes could be implemented to make the tooltip accessible:

    • Provide appropriate textual description via aria-label attribute for the element.
    • Display the information available in the tooltip as plain text and use CSS for formatting.
    • Specify the ARIA role "tooltip" for the information displayed on hover. Specify a unique id attribute for the tooltip and reference it via the aria-describedby attribute of the element.
    • Modify the script to make the tooltip information available on hover as well as on focus. In addition along with mouse-specific event handlers, use keyboard specific event handlers, such as "onfocus", "onblur", etc. to make the functionality accessible for keyboard-only users.

    Workaround

    Currently, there is no known workaround for this behaviour. A workaround will be added here when available

    Bug Ref: 742062

      1. Screenshot 2022-05-02 at 1.07.22 PM.png
        1.14 MB
        Akhilesh Paradhi
      2. Screen Recording 2022-05-02 at 1.35.15 PM.mov
        5.36 MB
        Akhilesh Paradhi
      3. Screen Recording 2024-05-23 at 9.17.37 AM.mov
        20.93 MB
        Shruti Chabukswar
      4. Screenshot 2024-05-23 at 9.32.25 AM.png
        827 kB
        Shruti Chabukswar

          Assignee:
          Michal Wowk (Inactive)
          Reporter:
          Akhilesh Paradhi (Inactive)
          Votes:
          0 Vote for this issue
          Watchers:
          4 Start watching this issue

            Created:
            Updated:
            Resolved: