Difference between revisions of "ARIA Expanded state"

From Level Access Web Labs
Jump to navigation Jump to search
Line 21: Line 21:
 
   </head>
 
   </head>
 
   <body>
 
   <body>
   <p>Activate the buttons to expand them and set the aria-expanded state to true. Activate again to collapse.</p>
+
   <p>Activate the button/link to expand them and set the aria-expanded state to true. Activate again to collapse.</p>
 
   <section>
 
   <section>
 
     <button onclick="toggle(this);" id="b1" aria-expanded="false"> Details </button>
 
     <button onclick="toggle(this);" id="b1" aria-expanded="false"> Details </button>

Revision as of 15:27, 11 September 2014

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