-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
WCAG 2.0 - missing attributes. #676
Comments
<img class="cboxPhoto" src="test.jpg" style="cursor: pointer; width: 500px; height: 713px; float: none;"> Main image element missing an alt attribute also. http://www.w3.org/TR/WCAG20/#perceivable |
Pretty sure the ones I see in the WAVE toolbar are:
Would be nice to see that these have proper attributes. |
Does anyone have a patch, hack or instructions for eliminating this accessibility error? I'm in the public sector here, and our site has received a complaint letter. At this point I need to fix these errors, or I have to replace Colorbox altogether. Thanks for any help. |
The default Colorbox options place text in those button elements. If you are using icons instead, you can specify the aria-label attribute yourself. Here's the configuration I used on a recent project where I used Font Awesome icons for the controls:
|
This would be a great enhancement, as more and more sites require to be WCAG compliant, especillay in the public sector. |
Duplicate of #765. |
http://www.w3.org/TR/WCAG20/#robust
http://www.w3.org/TR/WCAG20-TECHS/H91
The text was updated successfully, but these errors were encountered: