You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the data-input components (checkbox, radio, input, textarea, and select) implement some form of auto-validation to display an invalid message. However, as far as I understand, the "aria-invalid" attribute is not updated as part of this auto-validation process; it only changes via the "validation" prop ("invalid", "valid", or "no-validation").
For better accessibility and consistency, it would be helpful if the "aria-invalid" attribute automatically reflected the result of the component’s internal validation as well, not just the explicit "validation" prop.
Suggestion:
Please adjust the components so that "aria-invalid" is also set appropriately whenever an auto-validation error occurs, ensuring screen readers can provide accurate feedback to users.