-
Notifications
You must be signed in to change notification settings - Fork 163
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add forms input a11y docs #4125
Conversation
Demo starting at https://vanilla-framework-4125.demos.haus |
@petermakowski Not sure if these are all of them, maybe having a search for |
- add aria-invalid to examples
@bartaz I updated examples you mentioned. Interestingly enough, we already had a mention about |
@petermakowski sorry, not sure if I understand the QA steps correctly. The input field on Chrome works fine when putting a wrong input in: On Firefox, If I put in an invalid text string, I don't get a voiceover read out (don't mind the German): |
This PR only updates the documentation with steps required to implement accessibility using aria-invalid, it doesn't include all necessary JavaScript to make all interactive examples work. You can test it with static examples, e.g. in the inline example I updated the description with more details. The issue that you mention above is because there is no JavaScript validation for this example at all - only default browser behavior. This is out of scope of this work. |
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.
LGTM, thanks
Done
add forms input a11y docs section
Fixes canonical/react-components#639
QA
Check if PR is ready for release
If this PR contains Vanilla SCSS code changes, it should contain the following changes to make sure it's ready for the release:
Feature 馃巵
,Breaking Change 馃挘
,Bug 馃悰
,Documentation 馃摑
,Maintenance 馃敤
.package.json
should be updated relative to the most recent release, following semver convention:Screenshots
[if relevant, include a screenshot or screen capture]