Skip to content

Commit

Permalink
remove hidden attribute from aria-live elements, see phetsims/chipper…
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Feb 7, 2017
1 parent ddf3012 commit f4ce6b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions make-a-ten_en.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
</head>
<body bgcolor="black">

<!-- a11y - hidden until needed to prevent premature announcement -->
<div id='aria-live-elements' hidden style="position: absolute; left: 0px; top: 0px; width: 0px; height: 0px; clip: rect(0px 0px 0px 0px); pointer-events: none;">
<!-- a11y - aria-live attribute is used to send alerts and status updates to screen readers, otherwise invisible -->
<div id='aria-live-elements' style="position: absolute; left: 0px; top: 0px; width: 0px; height: 0px; clip: rect(0px 0px 0px 0px); pointer-events: none;">
<p id="assertive" aria-live="assertive" aria-atomic="true"></p>
<p id="polite" aria-live="polite" aria-atomic="true"></p>
<p id="assertive-alert" aria-live="assertive" role="alert" aria-atomic="true"></p>
Expand Down

0 comments on commit f4ce6b7

Please sign in to comment.