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" > SSB</a>
+
     <a href="#" onclick="toggle(this);" id="a1" aria-expanded="false" > SSB</a>
 
     <p class="hidden" id="p2">SSB BART Group is an digital accessibility solutions provider.</p>
 
     <p class="hidden" id="p2">SSB BART Group is an digital accessibility solutions provider.</p>
 
   </section>
 
   </section>

Revision as of 16:12, 11 September 2014

Activate the button/link to expand them and set the aria-expanded state to true. Activate again to collapse.