-
Notifications
You must be signed in to change notification settings - Fork 779
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
feat(new-rule): ARIA links, buttons, menuitems have an accessible name #2571
Conversation
<script src="area-alt.js"></script> | ||
<script src="aria-input-field-name.js"></script> | ||
<script src="aria-menuitem-name.js"></script> | ||
<script src="aria-progressbar-name.js"></script> | ||
<script src="aria-toggle-field-name.js"></script> | ||
<script src="aria-tooltip-name.js"></script> |
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.
We need to think of a way to make sure we don't forget to do this. Any thoughts?
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.
We could generate the file like we do the other test html files. I've not looked into that part of the build but it should be possible.
<script src="area-alt.js"></script> | ||
<script src="aria-input-field-name.js"></script> | ||
<script src="aria-menuitem-name.js"></script> | ||
<script src="aria-progressbar-name.js"></script> | ||
<script src="aria-toggle-field-name.js"></script> | ||
<script src="aria-tooltip-name.js"></script> |
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.
We could generate the file like we do the other test html files. I've not looked into that part of the build but it should be possible.
conform: function hasCategoryTag(tags) { return tags.some(tag => tag.includes('cat.')) }, | ||
conform: function hasCategoryTag(tags) { | ||
return tags.some(tag => tag.includes('cat.')); | ||
}, |
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.
Hmm, not sure how that didn't make it in last PR. Shouldn't matter.
Move ARIA link and button testing to this new aria-command-name rule, out of link-name / button-name. This closes issue #2582 and #2577.
Requires #2584 to be merged.
Part of #2421
Reviewer checks
Required fields, to be filled out by PR reviewer(s)