-
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
Accessibility improvements #832
base: master
Are you sure you want to change the base?
Conversation
This is a formal approach to fixing jackmoore#765 with proper use of Aria attributes as an alternative to PR jackmoore#821. Changes include: * Add `aria-hidden` attributes on the dialog box and navigational buttons. * Update the `aria-hidden` value to `true` or `false` at the appropriate times. * Add `aria-label` attributes to navigational buttons, using the colorbox default settings at page load time, and then update the value when a colorbox is loaded. * Add `aria-labelledby` and `aria-describedby` attributes to the div containing `role='dialog'`.
… live regions and ensure focus is on the first element in the dialog when it opens
… live regions and ensure focus is on the first element in the dialog when it opens
…esparkLabs/colorbox into 765-accessibility-compliance
…md/colorbox into 765-accessibility-compliance
Hope this gets pulled soon. But project looks dead :( |
@bramd, thanks for your additions on top of my #822 PR. I only happened to stumble across it by browsing the list of PRs so I'm leaving a comment here with a mention of my PR in order to link the two. Would you mind to add an issue description to summarize the additions you've done on top of mine? Thanks! |
@jameswilson commented on Feb 7, 2018, 1:26 AM GMT+1:
Done. This description is based on a quick look at the commits I did, so I may have missed a few minor changes in the description. |
This PR is based on earlier accessibility related workd by @jameswilson and adds the following: