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 issue #11

Open
earleyj1 opened this issue Mar 27, 2018 · 0 comments
Open

accessibility issue #11

earleyj1 opened this issue Mar 27, 2018 · 0 comments

Comments

@earleyj1
Copy link

earleyj1 commented Mar 27, 2018

There is an accessibility issue in that the chevron icon is NOT accessible. To make it accessible, the span with the icon should have
<span aria-hidden="true" class="glyphicon glyphicon-chevron-down">&nbsp;</span><span class="sr-only">Expand/Collapse</span>

However, it seems that the "sr-only" class is being stripped out, and I'm not sure why. CKEditor itself allows it, so I'm thinking its the plugin.

I tried modifying
allowedContent: 'div(!collapsible-item*,panel*,collapse)[*];h4(!collapsible-item*,panel*)[*];a(!collapsible-item*,collapsed,panel*)[*];span(!glyphicon*)[*];',
by adding the class here, but it had no effect.

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

No branches or pull requests

1 participant