Difference between revisions of "ARIA Pressed State"

From Level Access Web Labs
Jump to navigation Jump to search
(Created page with "<html> With button element <button aria-pressed="true"> Bold </button> Div element with aria-pressed <div aria-press="true"> Italics </button> Anchor element with aria-pressed...")
 
Line 1: Line 1:
 
<html>
 
<html>
With button element
+
<p>With button element</p>
 
<button aria-pressed="true"> Bold </button>
 
<button aria-pressed="true"> Bold </button>
Div element with aria-pressed
+
<p>Div element with aria-pressed</p>
 
<div aria-press="true"> Italics </button>
 
<div aria-press="true"> Italics </button>
Anchor element with aria-pressed
+
<p>Anchor element with aria-pressed</p>
 
<a href="#"> Underline </a>
 
<a 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