Closed
Bug 1804771
Opened 2 years ago
Closed 2 years ago
Change moz-toggle implementation to use a button with `role="switch`
Categories
(Toolkit :: UI Widgets, enhancement)
Toolkit
UI Widgets
Tracking
()
RESOLVED
FIXED
110 Branch
Tracking | Status | |
---|---|---|
firefox110 | --- | fixed |
People
(Reporter: hjones, Assigned: hjones)
References
(Blocks 1 open bug)
Details
(Whiteboard: [recomp])
Attachments
(1 file)
Our initial toggle implementation was based on using a checkbox input, but since we've started trying to use it in a few places in the Firefox codebase it has become clear that what we're trying to implement is more of a toggle button. We do not support the use case of having an indeterminate or mixed state, and we always expect actions to occur immediately when the toggle is clicked, rather than waiting on a form submit. To express this more clearly, we will switch the toggle to be a button with role="switch"
and with an aria-pressed
attribute.
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Attachment #9307831 -
Attachment description: WIP: Bug 1804771 - changing toggle implementation → Bug 1804771 - change toggle to use a button r=mstriemer,tgiles
Pushed by hjones@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c79103fc182f
change toggle to use a button r=mstriemer
Comment 3•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox110:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
Updated•9 months ago
|
Whiteboard: [fidefe-reusable-components-ms1] → [recomp]
You need to log in
before you can comment on or make changes to this bug.
Description
•