Telefonica / mistica-design

Mística Design System (only design)
https://brandfactory.telefonica.com/mistica
20 stars 4 forks source link

→ Accessibility: Components | Use aria-live in input field errors #1766

Closed yceballost closed 1 week ago

yceballost commented 1 month ago

Error messages Use aria-atomic-true and aria-live: assertive to show error messages to screen readers

References: ARIA19: Using ARIA role=alert or Live Regions to Identify Errors Understanding Success Criterion 3.3.1: Error Identification

1794 Dependency

aweell commented 1 month ago

There's also another attribute that could work: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-errormessage