Skip to content
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

Accessibility-related HTML isn't whitelisted #215

Closed
fstorr opened this issue Aug 31, 2015 · 7 comments · Fixed by #298
Closed

Accessibility-related HTML isn't whitelisted #215

fstorr opened this issue Aug 31, 2015 · 7 comments · Fixed by #298

Comments

@fstorr
Copy link

fstorr commented Aug 31, 2015

It would be very useful to allow accessibility-related HTML to be whitelisted. Specifically:

  1. The <caption> element for tables
  2. The aria-labelledby, aria-label, and aria-describedby attributes.

Allowing these will help improve the accessibility of documents to meet some of the WCAG 2.0 requirements around text-alternatives, information and relationships, and names, roles, and values.

@edent
Copy link

edent commented Apr 18, 2017

Similar <figure> and <figcaption> would be helpful.

@jrfnl
Copy link

jrfnl commented Jun 29, 2018

👍 Please also consider aria-hidden as allowed.

@gjtorikian
Copy link
Owner

Of course! Sorry to see that this wasn't addressed earlier.

@jrfnl
Copy link

jrfnl commented Jun 29, 2018

@gjtorikian Does that mean it will be addressed by you now or should I (non-ruby dev) create a PR for it ?

Never mind, just saw your PR ❤️

@gjtorikian
Copy link
Owner

This is now out at 2.8.3.

@jrfnl
Copy link

jrfnl commented Jun 29, 2018

@gjtorikian Thank you *so much! Your quick response to this is much appreciated.

@gjtorikian
Copy link
Owner

No worries. I love accessibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants