Last active
August 29, 2015 14:06
-
-
Save jonlow/02add750771b237ca757 to your computer and use it in GitHub Desktop.
Accessible Dialog Markup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Dialog popups should be directly after the button that activates them | |
in the HTML source order, so that they can be read by screen readers | |
as soon as they are opened --> | |
<ul> | |
<li class="button1"> | |
<a href="#">The button that activates the popup</a> | |
<div class="popup1">My popup content</div> | |
</li> | |
<li class="button2"> | |
<a href="#">My second button</a> | |
<div class="popup2"> | |
<h3>My 2nd title</h3> | |
<p>MyThe second popup dialog,/p> | |
</div> | |
</li> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment