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

Branches : Device-dependent event handlers are used

    XMLWordPrintable

Details

    Description

      Issue Summary

      The element uses device-dependent event handlers and is therefore not accessible by keyboard alone.

      Element: "1 Commit a head of master" Tooltip

      Location: In table cell- Below - Behind /Ahead column > On hovering on 1

      Note: "1 Commit a head of master " tooltip content is not available to the keyboard users .

      Steps to Reproduce

      1. Step 1

      Actual Results

      Actual results

      Expected Results

      Expected Results

      Fix Information
      RULE :
      Functionality MUST be available using the keyboard, unless the functionality cannot be accomplished in any known way using a keyboard.

      HOW TO FIX:
      Fix this issue by using use either a device independent event handler (one that works with both the mouse and the keyboard) or use both mouse dependent and keyboard dependent event handlers.

      Device independent event handlers include: onfocus, onblur, onselect, onchange, and onclick (when onclick is used with a keyboard-focusable element).

      Bad: <button ondblclick="foo()"">Next</button>
      Good: <button onclick="foo()"">Next</button>

      REFERENCE:
      Deque University:https://dequeuniversity.com/class/input-methods2/keyboard-input/functionality

      BACKGROUND:
      Some people cannot use a mouse due to vision or motor disabilities. Content that can be operated with a mouse must also be made operable with a keyboard. When content is operable through a keyboard, it becomes operable by a variety of assistive technologies such as speech input software, sip-and-puff software, on-screen keyboards, scanning software, and alternate keyboards.

      Screenshot

      Screen Recording

      screen recording

      Workaround

      workaround

      Bug Ref: 742031

      Attachments

        Issue Links

          Activity

            People

              cb3955cd8c67 Carlos Sanchez Rosa
              12b69dcabe29 Matthew Brennan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: