Difference between revisions of "MikeS Nav-Landmark"

From Level Access Web Labs
Jump to navigation Jump to search
Line 6: Line 6:
 
<nav>Nav element with no label</nav>
 
<nav>Nav element with no label</nav>
 
<br>separator
 
<br>separator
<div role="navigation">ARIA navigation role with no label</nav>
+
<div role="navigation">ARIA navigation role with no label</div>
  
 
<h3>Labeled landmarks</h3>
 
<h3>Labeled landmarks</h3>
Line 12: Line 12:
 
<nav aria-label="Fruit">Nav element with aria-label: apples oranges bananas</nav>
 
<nav aria-label="Fruit">Nav element with aria-label: apples oranges bananas</nav>
 
<br>separator
 
<br>separator
<div role="navigation" aria-label="vegetables">ARIA navigation role with aria-label: corn potatoes carrots</nav>
+
<div role="navigation" aria-label="vegetables">ARIA navigation role with aria-label: corn potatoes carrots</div>
 
<br>separator
 
<br>separator
  

Revision as of 00:53, 10 January 2017

Unlabeled landmarks


separator

ARIA navigation role with no label

Labeled landmarks


separator

ARIA navigation role with aria-label: corn potatoes carrots


separator