Frontend Mentor @frontendmentor.io · Sep 12

The example below is one way to improve this field. The aria-invalid attribute explicitly marks the field as having an invalid input. The aria-describedby attribute links the input and the error via the error's ID, ensuring the message is announced when the input receives focus.

0 likes 1 replies

?

Replies

Frontend Mentor · Sep 12

Forms are a crucial part of building accessible interfaces. Be sure to take your time with them and do some research to find accessible patterns if you're unsure. Happy coding! 🙂