Title:
State: OPEN CLOSED Pending review
Person: Unassigned Vince Abbate Jake Abma Tolu Adegbite Irfan Ali Matthew Atkinson Nadine Auer Andrew Barakat Mike Beganyi Rain Breaw Michaels Sheri Byrne-Haber Amy Carney Michael Cooper Santina Croniser Deborah Dahl Yao Ding Dee Dyer Niklas Egger Steve Faulkner David Fazio Reinaldo Ferraz Fredrik Fischer John Foliot Martin Forstner Russell Galvin Becky Gibson Paul Grenier Markku Hakkinen Katie Haritos-Shea Olivia Hogan-Stark Scott Hollier Jonny James Sam Kanta George Kerscher Jeff Kline Raja Kushalnagar Charles LaPierre Gez Lemon Todd Libby Amanda Mace George Margetis Mark Miller Mary Jo Mueller Andrew Nevins Steve Noble Stavroula Ntoa Joshue O'Connor Brian O'Day Achraf Othman John Paton Ian Pouncey Sonali Rai Ruoxi Ran Kai Recke Alan Reeve Shrirang Sahasrabudhe Janina Sajka Ciara salmon Lisa Seeman-Horwitz John Sherrod Tzviya Siegman Avneesh Singh David Sloan Alisa Smith Sharon Snider Neil Soiffer Jeanne F Spellman Jeff Stanley David Swallow Stacey Swinehart Ganderson Moda Taiwan Jamie Vanderwall Harry Wang Léonie Watson Anna Wheler Jason White Lionel Wolberger Sarah Wood Gottfried Zimmermann Becky Gibson
Due Date: (accepts formats such as "2005-05-17", "+1 week", "14 August 2005" and "next Thursday")
Associated Issue: none ISSUE-70: @title show/hide control ISSUE-71: CAPTCHA redux ISSUE-81: aria-dialog vs. HTML5's DIALOG element ISSUE-85: accesskey 2.0 ISSUE-333: Gottfried ISSUE-336: pseudo-classes ISSUE-344: tri-state checkbox ISSUE-365: OS preferences ISSUE-380: Unicode characters ISSUE-391: caret browing ISSUE-412: drag and drop consinstency ISSUE-419: CSS3 module interdependency ISSUE-473 ISSUE-1001 ISSUE-1002 ISSUE-1003 ISSUE-1004 ISSUE-1005 ISSUE-1006 ISSUE-68: HTML5-review-team ISSUE-500: high contrast css ISSUE-589: CSS :role() selector ISSUE-625: cssSpecificity
Or Associated Product: none CAPTCHA Note CSS Device Independent Events FAST HTML 5 Miscellaneous Payments RQTF Spec reviews XAG
Add notes (no markup allowed, URIs get automatically hyperlinked):
summary: native mobile UIs have a switch element, HTML does not. Devs want web apps rendering on mobile to have "switch" element and have to craft via JS. Want to make role match visual appearance. ARIA has a role=switch (but it has no indeterminant/mixed value like checkbox. One proposal was to add a switch attribute to checkbox: <input type="checkbox" switch>. June, 2019 - google proposal to add a new switch element via Std JS control: https://github.com/tkent-google/std-switch/blob/master/README.md and demo: https://tkent-google.github.io/std-switch/demo.html. A toggle switch control element w3ctag/design-reviews#384 was requested and closed.
Note that https://github.com/whatwg/html/issues/5625 was closed. Discussion continues at https://github.com/whatwg/html/issues/4180
There has been no recent discussion. Someone did provide an example implementation. ARIA has a switch that maps to "toggle" in most a11y apis. Argument is that web devs shouldn't have to recreate this over and over. A type="checkbox switch" has been suggested to indicate the styling. Concerns have been raised about how to implement and allow styling. Advantages: match native mobile UI; larger hit target than checkbox. Disadvantages: expression of on/off not as straightforward as checkbox; indeterminate states not clear (toggle in middle position?). Not sure we need to weigh in from a strictly a11y point of view - probably biggest argument is that AIRA includes switch.