Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error input acessibility #2004

Open
lafray opened this issue Oct 15, 2024 · 1 comment
Open

Error input acessibility #2004

lafray opened this issue Oct 15, 2024 · 1 comment
Labels
a11y Accessibility concerns, ensuring that the project is inclusive and usable by all individuals bug Something isn't working

Comments

@lafray
Copy link
Contributor

lafray commented Oct 15, 2024

Problem

Estava vendo a questão de acessibilidade dos inputs e vi que é possivel utilizar o atributto aria-invalid no input juntamente com a mensage erro com role de alert para que o leitor de tela lide corratemente. Aqui tem docs sobre o assunto: doc1, doc2

Olhando o código do shoreline, ja temos o role alerta nas mensagens de erro mas não temos o aria-invalid. Acredito que seja importante ter.

Solution

nesta linha add: aria-invalid={error}, bem como nos outros componentes de input (text area, checkbox, etc)

Usage examples

No response

Dependencies

No response

References

doc1, doc2

@lafray lafray added the proposal Proposals for enhancements to the software label Oct 15, 2024
@beatrizmilhomem beatrizmilhomem added the a11y Accessibility concerns, ensuring that the project is inclusive and usable by all individuals label Oct 16, 2024
@matheusps
Copy link
Contributor

Concordo que precisamos sim.

@matheusps matheusps added bug Something isn't working and removed proposal Proposals for enhancements to the software labels Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y Accessibility concerns, ensuring that the project is inclusive and usable by all individuals bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

3 participants