An Accessible Input with Description and Error Message
How to flag to the input that those spans are errors and descriptions linked to itself using `aria-labelledby` and `aria-describedby`
How to flag to the input that those spans are errors and descriptions linked to itself using `aria-labelledby` and `aria-describedby`
Basically any component creates some expectation on the user. If you open a modal, you, as an user expect to be able to close it by clicking on the backdrop of that said modal. If you have a video focused and you press Space, you expect it to pause. If you tab into a button, you expect it to activate by either pressing Enter or Space.
Um básico sobre acessibilidade