-
-
Save volpav/17004356a02811d4ccc8 to your computer and use it in GitHub Desktop.
AJAX and accessibility, #2.
This file contains 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
<form method="post" action="/subscribe" onsubmit="return subscribe(this);"> | |
<label for="txEmail">Your email address:</label> | |
<input type="text" id="txEmail" name="email" /> | |
<input type="submit" value="Subscribe to newsletter" /> | |
<!-- Live region --> | |
<span aria-live="polite" id="progress"></span> | |
</form> | |
<!-- The JavaScript code doesn't have to be changed --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment