Difference between revisions of "ARIA Expanded state"

From Level Access Web Labs
Jump to navigation Jump to search
Line 27: Line 27:
 
   </section>
 
   </section>
 
   <section>
 
   <section>
     <a onclick="toggle(this);" id="a1" aria-expanded="false" href="javascript:toggle(this);"> SSB</a>
+
     <a onclick="toggle(this);" id="a1" aria-expanded="false" > SSB</a>
 
     <p class="hidden">SSB BART Group is an digital accessibility solutions provider.</p>
 
     <p class="hidden">SSB BART Group is an digital accessibility solutions provider.</p>
 
   </section>
 
   </section>

Revision as of 15:04, 11 September 2014

Activate the buttons to expand them and set the aria-expanded state to true. Activate again to collapse.