ComboboxInputTrigger puts the combobox states on a role-less div

Aperta
#551 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
ruby

Direzione di ricerca

Start on the 2.0 line with combobox_input_trigger.rb and compare the current markup with snapshot combobox/input_trigger. Run the golden HTML suite or inspect the combobox/* snapshots, then re-record them after the input owns the combobox states and review the resulting diff.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
  • Where: combobox_input_trigger.rb: aria-expanded and aria-haspopup="listbox" on the wrapper div; the <input> has no role="combobox", aria-controls or aria-activedescendant. Snapshot combobox/input_trigger.
  • Effect: ARIA 1.2 puts those states on the element with the combobox role; on a role-less div they are not conveyed, and the listbox relationship is never announced.
  • Fix: move role: "combobox", aria-haspopup, aria-expanded and aria-controls onto the input; re-record combobox/*.

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ruby-ui/ruby_ui

Tutte le issue di ruby-ui/ruby_ui

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.