-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
Adds ARIA attributes #232
Adds ARIA attributes #232
Conversation
Hi, @nick-desteffen! Thanks for submitting this. I just got back from a week on the road for work, so I'm catching up on open-source. I will take a look in the next day or two. |
@nick-desteffen I'm curious why the following ARIA attributes aren't added in this PR:
which are all listed on the Attributes page you referenced above. I've got a commit ready to push that adds these, but wanted to double-check with you that I'm not missing anything (I'm not very familiar with ARIA). |
@flavorjones I must have missed those, since they aren't listed under one of the 4 main categories. They are all valid attributes according to the spec, so I think they should be included. Sorry about missing them. Their usage really depends on the screen reader and how compliant you want your application to be. Official WC3 references: |
@nick-desteffen would you mind clicking the checkbox on the right that says "Allow edited by maintainers" so I can push an additional commit? I'd prefer that to opening a new PR. Thanks! |
@flavorjones hmm, I'm not seeing that option. It could be because I didn't open a PR against our fork. I can just add those missing attributes and squash my commits. |
Huh. OK, well I added a test, too, so I'm going to close this, open a second PR, but keep your commit in history and credit you in the CHANGELOG. |
Release has been made! Thanks for contibuting this! https://github.com/flavorjones/loofah/releases/tag/v2.17.0 |
🍻 Thank you! |
ARIA Documentation: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA
Specific Attributes: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes