Open
Bug 1878748
Opened 1 year ago
Updated 1 year ago
Create plain language accessibility description for moz-toggle
Categories
(Toolkit :: UI Widgets, task, P3)
Toolkit
UI Widgets
Tracking
()
NEW
People
(Reporter: tgiles, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [recomp])
We should create an accessibility section for the moz-toggle widget. This section should contain:
- Why you should always provide a label (for visual text) or aria-label (for visually hidden text)
- Why the widget is a button element (even though it behaves as a toggle) and what the aria-pressed attribute is doing for us (giving additional information to a screen reader to help determine the state of the toggle at any given time). Here's my previous argument for using aria-pressed over switch
Reporter | ||
Updated•1 year ago
|
Whiteboard: [fidefe-reusable-components]
Updated•1 year ago
|
Updated•1 year ago
|
Whiteboard: [fidefe-reusable-components] → [recomp]
You need to log in
before you can comment on or make changes to this bug.
Description
•