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

ARIA audit #47

Closed
imakewebthings opened this issue Oct 19, 2011 · 3 comments
Closed

ARIA audit #47

imakewebthings opened this issue Oct 19, 2011 · 3 comments

Comments

@imakewebthings
Copy link
Owner

There are probably a number of aria-* attributes that could be utilized. Go through core and all the extensions and see what we can do.

From vick08 on Twitter:

I suggest aria-hidden=true on the offscreen content to prevent keyboard access to it.

@imakewebthings
Copy link
Owner Author

Some other changes I feel confident about:

  • Change the deck.navigation snippet to use role=navigation.
  • Give the deck.status snippet a role of status.
  • When navigation elements are disabled (due to being on first or last slide) give them aria-disabled=true.
  • Toggle aria-hidden as appropriate for the deck.goto form.

Possibilities that may or may not be helpful (If anyone reads this and has feedback, would be appreciated):

  • Give the deck container a menu role when in that view via deck.menu extension. Each slide would be given a menuitem role and the aria-selected state would be maintained as the deck is navigated from the menu view. Focus management and key bindings to "active" the slide/menu-item would need to be rethought to fall in line with typical widget key bindings (I'm thinking of the Enter key in particular.)

@imakewebthings
Copy link
Owner Author

In master. The doc change needed is for the added setAriaHiddens option in core.

@imakewebthings
Copy link
Owner Author

This is included in the 1.1.0 release.

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

No branches or pull requests

1 participant