Update index.html

added aria-label and aira-live to provide a clear description to assistive technologies.
pull/205/head
piyush 11 months ago committed by GitHub
parent 9409685c9a
commit 5e321f3d94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -9,8 +9,8 @@
<body>
<div class="container">
<h3>Don't Laugh Challenge</h3>
<div id="joke" class="joke">// Joke goes here</div>
<button id="jokeBtn" class="btn">Get Another Joke</button>
<div id="joke" class="joke" aria-live="polite">// Joke goes here</div>
<button id="jokeBtn" class="btn" aria-label="Get another joke">Get Another Joke</button>
</div>
<script src="script.js"></script>
</body>

Loading…
Cancel
Save