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

buttons should be readable by screen readers #203

Open
techieshark opened this issue Sep 20, 2016 · 1 comment
Open

buttons should be readable by screen readers #203

techieshark opened this issue Sep 20, 2016 · 1 comment

Comments

@techieshark
Copy link
Contributor

@reekypete pointed out that button controls could have labels which are more self contained (so screen reader users wouldn't have to have surrounding context to make use of the buttons).

A couple thoughts:

  • now that we're using more semantically correct <button>s rather than <a>s, we'll need something other than title attribute to make this work.
  • I came across documentation about what to do in this case while doing research; I'll have to dig that up. We might use <span class="sr-only"> (screen reader only) to add that context into the button text, or use ARIA labelling.
  • this issue may relate to all buttons we use, but we should at least start with the primary / secondary school buttons at the top.
@techieshark
Copy link
Contributor Author

example using <span class="sr-only">Find a school for a </span>:

image

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