Announcement capture records text from aria-live="off" regions
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- playwright, typescript
- Área
- accessibility, testing
Línea de trabajo
Read the capture logic in src/deps/real.ts and compare the effective live value handling in pf-toast-live-region. Start by tracing how the rule resolves nested regions, then run the real-browser tests and add cases for an off region, an off wrapper inside a polite region, and uppercase or unknown tokens. Done when the shared resolver makes the rule and capture agree and those cases pass.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happens
The announcement capture script in src/deps/real.ts decides whether a DOM change was announced with a flat selector:
const LIVE = '[aria-live],[role="status"],[role="alert"],[role="log"]';
const host = target.closest(LIVE);
Any element with an aria-live attribute matches, including aria-live="off". The nearest ancestor that sets a live value is also not resolved, so an off wrapper inside a polite region does not stop the capture.
Why it matters
A flow requirement's expectedAnnouncement is checked against this capture. Text that changes inside an aria-live="off" region is recorded as announced, so the requirement can pass on text no screen reader speaks. That is a false green.
Fix direction
Resolve the effective live value the same way pf-toast-live-region now does: the nearest element that sets a value wins, an explicit aria-live beats the role, and only polite and assertive count. Share one resolver between the rule and the capture script so the two cannot drift. Add a real-browser test for an off region, an off wrapper inside a polite region, and an uppercase or unknown token.
- Lenguaje dominante
- TypeScript
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 2 h 17 min
- PR fusionados (30 d)
- 10
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de usabl-dev/usabl
-
area: playwright bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
area: engine bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
-
Stop hook allows a stop on an unknown verdict, and the self-check prints IDLE for a null verdictAbiertoarea: assistants bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
gate() does not check draft enums, so a misspelled evidence class never gatesPosiblemente ocupada @eparenti la tomó hace 1 día. Abiertoarea: engine bug security
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Overlay: browser context failures are counted per plugin, not per browser, and close is not sharedAbiertoarea: overlay bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 1 día
Todos los issues de usabl-dev/usabl
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
awslabs/visual-asset-management-system#804 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
restatedev/sdk-typescript#813 ·
-
bug desktop P1 session XS
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Merit-Systems/x402scan#1312 ·
-
type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Azure/apiops-cli#331 ·
Los mantenedores suelen responder en 3 días