What the component handles
- Associated helper message and error message announced by screen readers in a correct order
- Required attribute announced by the screen readers
- Character count is announced by screen reader when the user stops typing via aria-live="polite"
What you need to provide
- aria-labelledby if you’re referencing an existing label element
- if a Placeholder is the sole way of describing the required format (which should be avoided by all means), add a hidden label with the format example, and use aria-describedby
Color contrast
Meets the WCAG 2.1 AA color contrast ratio requirements and can be used on the following:
- background.static.xxx tokens except for background.static.inverse and background.static.on-color
- in default Card variant.