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

Rebasing Cannot be undone Modal : 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.

      Elements: Additional tooltip contents
      Location: On mouse hover of the following text(In my Scenario)

      • test_150
      • test_150
      • TestBranch

      Scenario: Using the mouse hover on the above elements displays additional tooltip content. Then, using the keyboard, try to access the content.

      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: 742062

      Attachments

        Issue Links

          Activity

            People

              52f5862bfeac Viacheslav Bezborodov
              12b69dcabe29 Matthew Brennan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: