Difference between revisions of "ARIA Pressed State"

From Level Access Web Labs
Jump to navigation Jump to search
Line 15: Line 15:
 
   <p>Div element with aria-pressed and role button</p>
 
   <p>Div element with aria-pressed and role button</p>
  
   <div role="button" onclick="toggle('d1');" id="d1" style="width:3em; border:solid;" aria-press="true" tabindex="0"> Italics </div>
+
   <div role="button" onclick="toggle('d1');" id="d1" style="width:3em; border:solid;" aria-pressed="true" tabindex="0"> Italics </div>
  
 
   <p>Anchor element with aria-pressed and role button</p>
 
   <p>Anchor element with aria-pressed and role button</p>

Revision as of 00:58, 11 July 2014

With button element

Div element with aria-pressed and role button

Italics

Anchor element with aria-pressed and role button

Underline