Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-13277

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

            ef09d809d3f4 Michal Wowk (Inactive)
            2b3f463b7e2d Akhilesh Paradhi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: