Difference between revisions of "ARIA Pressed State"

From Level Access Web Labs
Jump to navigation Jump to search
Line 5: Line 5:
 
<div style="width:3em; border:solid;" aria-press="true"> Italics </div>
 
<div style="width:3em; border:solid;" aria-press="true"> Italics </div>
 
<p>Anchor element with aria-pressed</p>
 
<p>Anchor element with aria-pressed</p>
<a style="border:solid;" href="#"> Underline </a>
+
<a style="border:solid;" href="#" aria-pressed="true"> Underline </a>
 
<h2> Dynamic example </h2>
 
<h2> Dynamic example </h2>
 
</html>
 
</html>
 
[[Category:ARIA]]
 
[[Category:ARIA]]
 
[[Category:aria-pressed]]
 
[[Category:aria-pressed]]

Revision as of 21:19, 8 July 2014

With button element

Div element with aria-pressed

Italics

Anchor element with aria-pressed

Underline

Dynamic example