Difference between revisions of "ARIA Pressed State"

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

Revision as of 14:21, 4 April 2014

With button element

Div element with aria-pressed

Italics

Anchor element with aria-pressed

Underline

Dynamic example