You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expand/collapse disclosure widgets (such as "Options" in the "Create new send", and "General"/"Display"/"Autofill" in Settings > Options) can't be used with a keyboard. It further doesn't expose any role, nor does it programmatically expose its state (whether the panel is expanded or collapsed).
Go to one of the screens in the popup with a disclosure widget (such as "Create new send")
Try to reach the expand/collapse control with the keyboard to operate it
Using a screen reader, navigate through the screen (using reading keys/browse mode) and reach the control
Expected Result
Disclosure wiget control can be focused using Tab, toggled with Enter or Space
Screen reader announces it as a button, and announces whether the related panel is expanded or collapsed
Actual Result
Disclosure widget trigger can't be focused/activated using keyboard
Screen reader does not announce it as a button, or anything interactive at all, nor does it announce the state (expanded or collapsed) or the related panel
Screenshots or Videos
Environment
Operating system: Windows 10
Browser: Chrome 92
Build Version (go to "Settings" → "About" in the app): 1.51.1
The text was updated successfully, but these errors were encountered:
patrickhlauke
changed the title
A11y: expandable "Options" not keyboard-accessible, don't expose role or state
A11y: expandable "Options" disclosure widgets not keyboard-accessible, don't expose role or state
Jul 30, 2021
Describe the Bug
Expand/collapse disclosure widgets (such as "Options" in the "Create new send", and "General"/"Display"/"Autofill" in Settings > Options) can't be used with a keyboard. It further doesn't expose any role, nor does it programmatically expose its state (whether the panel is expanded or collapsed).
Steps To Reproduce
Expected Result
Tab
, toggled withEnter
orSpace
Actual Result
Screenshots or Videos
Environment
Additional Context
Ideally, the end result should look like this
with the
aria-expanded
either set tofalse
(not expanded) ortrue
(expanded) dynamically, to reflect the state of the panel.see https://www.w3.org/TR/wai-aria-practices-1.2/#disclosure (recommend ignoring the optional
aria-controls
, as it has little/no actual assistive technology support)The text was updated successfully, but these errors were encountered: