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 improvements #832

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Accessibility improvements #832

wants to merge 10 commits into from

Conversation

bramd
Copy link

@bramd bramd commented Jun 27, 2017

This PR is based on earlier accessibility related workd by @jameswilson and adds the following:

  • Reworked focus trapping: now the dialog itself isn't focusable and tab/shift+tab cycles through the elements in the dialog
  • ARIA live regions are used to announce changes in the title and the dialog content

jameswilson and others added 10 commits March 28, 2017 18:59
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
@regularlabs
Copy link

Hope this gets pulled soon. But project looks dead :(
No new releases since 2016/05/10

@jameswilson
Copy link

@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!

@bramd
Copy link
Author

bramd commented Feb 7, 2018

@jameswilson commented on Feb 7, 2018, 1:26 AM GMT+1:

Would you mind to add an issue description to summarize the additions you've done on top of mine?

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.

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 this pull request may close these issues.

None yet

3 participants