fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

[Accessibility][Keyboard Navigation]: Keyboard tab focus goes to the disabled element inside 'Disabled uncontrolled example with defaultSelectedKey' combobox.

Open joschect opened this issue 7 years ago • 2 comments

Split out of issue #6920

joschect avatar Nov 14 '19 18:11 joschect

Per the comment in the original issue, this is working as intended. Disabled element should still get focus so the user can receive information about what is disabled.

joschect avatar Nov 14 '19 23:11 joschect

Please consider re-opening this issue. Several reasons:

  1. This behavior is not consistent with other Fabric controls. In #4387, the decision was made to not focus disabled controls.
  2. This is the default behavior on all browsers, as noted in #4387. Although the WAI-ARIA spec gives some wiggle room about whether an aria-disabled element can be navigated to by keyboard, the behavior of native disabled elements is consistent across browsers. For example, try <input disabled tabindex="1" /> on any browser. It will not be reachable by TAB.
  3. For screen reader users, they can always access disabled elements whether or not they are tabbable. TAB is not the only way to navigate a page. Users can reach disabled elements using other methods. Like arrow keys with scan mode in Narrator, or the number pad with NVDA.
  4. It is annoying for sighted keyboard users to TAB to something that is not interactive.

tahoon-ms avatar Dec 06 '19 23:12 tahoon-ms