-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(a11y): added ariaInvalid and ariaDescribedby props to SDP #1896
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
85e8f4d
to
55485d0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you elaborate on "allows for more accessible form validation"?
This attribute can be set to let a screen reader know a field is not valid. |
a184ed0
to
b8e663b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good to me from the a11y side!
I'll let someone who's more familiar with the codebase at large to give the approval.
ariaInvalid
allows for more accessible form validationariaDescribedby
allows users to use custom elements for the field description instead of the built inscreenReaderMessage
behavior.