ComboboxInputTrigger puts the combobox states on a role-less div

Abierto
#551 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
ruby

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Ruby
Estrellas
1k
Forks
67
Merge medio
2 d 19 h
PR fusionados (30 d)
18

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ruby-ui/ruby_ui

Todos los issues de ruby-ui/ruby_ui

Issues similares

Más issues de Ruby

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.