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

ADA compliance #1

Open
jaymollica opened this issue Aug 30, 2016 · 0 comments
Open

ADA compliance #1

jaymollica opened this issue Aug 30, 2016 · 0 comments

Comments

@jaymollica
Copy link

jaymollica commented Aug 30, 2016

Right now the alerts are nested in the <nav>, this is misleading to a screen reader. Only navigational items should be nested in <nav>. A good step forward would be to put it outside <nav> and make visible elements hidden from screen readers, then create a new element that is offscreen (ie -9999px to the left) that a screen reader would pick up on.

<div class="screen-reader-alert-container">
<h1>Tips for visiting SFMOMA today</h1>
<ul>
<li>Alert 1</li>
<li>Alert 2</li>
...
</ul>
</div>
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