Switch is neither perceivable nor operable by assistive technology
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- ruby
- Ambito
- accessibility
Direzione di ricerca
Start with switch.rb and the controller that drives the switch state on the 2.0 line. Replace the hidden input approach and add the state reflected by aria-checked, then re-record and review the switch/* snapshots as the completion check.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
- Where:
switch.rb:role: "switch"on the label with noaria-checked; the checkbox input carriesclass: "hidden peer"(display: none). Snapshotsswitch/*. - Effect: the switch role requires
aria-checked; adisplay: noneinput leaves the accessibility tree and the tab order, so keyboard users cannot toggle it and the label'sfocus-visible:classes never apply. - Fix: render
aria-checkedand keep it in sync from the controller;sr-onlyinstead ofhiddenso the input stays focusable; re-recordswitch/*.
Surfaced by the strict lane of the golden HTML suite (PR #548), which pins what 1.6 renders today — this defect included. Per maintainer decision (2026-09-19) main stays as is: this is addressed on the 2.0 line, and the golden snapshots that pin it are re-recorded there with the diff reviewed.
Source: design/v2/follow-up-issues.md.
- Lingua principale
- Ruby
- Stelle
- 1k
- Fork
- 67
- Merge medio
- 2g 19h
- PR unite (30g)
- 18
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ruby-ui/ruby_ui
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
-
bug
Difficoltà 1/5 1-3 ore Idoneità per principianti 35/100
Tutte le issue di ruby-ui/ruby_ui
Issue simili
-
SyncEm always forwards a dummy block, so wrapped methods lose their no-block/Enumerator behavior Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
bug P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
dependabot
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
githubnext/gh-aw-cao#13349 ·
-
user-reported
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
Kong/developer.konghq.com#7316 ·