Closed
Bug 1804771
Opened 1 year ago
Closed 1 year 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•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Updated•1 year 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•1 year ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox110:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
Updated•1 month ago
|
Whiteboard: [fidefe-reusable-components-ms1] → [recomp]
You need to log in
before you can comment on or make changes to this bug.
Description
•