Difference between revisions of "ARIA Menu"

From Level Access Web Labs
Jump to navigation Jump to search
Line 141: Line 141:
 
   <li tabindex="-1" id="l1" role="menuitem" aria-haspopup="true" aria-labelledby="label1" data-next="l1a" data-previous="l1c"><span id="label1" >File &#9660;</span>
 
   <li tabindex="-1" id="l1" role="menuitem" aria-haspopup="true" aria-labelledby="label1" data-next="l1a" data-previous="l1c"><span id="label1" >File &#9660;</span>
 
     <ul role="menu" id="u1" class="menu" >
 
     <ul role="menu" id="u1" class="menu" >
       <li id="l1a" data-next="l1b" data-previous="l1" tabindex="-1" onclick="window.location = 'http://www.w3.org/TR/2008/REC-WCAG20-20081211/';" role="menuitem">WCAG 2.0</li>
+
       <li id="l1a" data-next="l1b" data-previous="l1" tabindex="-1" onclick="alert('do something');" role="menuitem">Save</li>
 
       <li id="l1b" tabindex="-1" data-next="l1c" data-previous="l1a" onclick="window.location = 'http://www.w3.org/TR/UNDERSTANDING-WCAG20/';" role="menuitem">Understanding WCAG</li>
 
       <li id="l1b" tabindex="-1" data-next="l1c" data-previous="l1a" onclick="window.location = 'http://www.w3.org/TR/UNDERSTANDING-WCAG20/';" role="menuitem">Understanding WCAG</li>
 
       <li id="l1c" tabindex="-1" data-next="l1" data-previous="l1b" onclick="window.location = 'http://www.w3.org/WAI/WCAG20/quickref/';" role="menuitem">How to Meet WCAG</li>
 
       <li id="l1c" tabindex="-1" data-next="l1" data-previous="l1b" onclick="window.location = 'http://www.w3.org/WAI/WCAG20/quickref/';" role="menuitem">How to Meet WCAG</li>

Revision as of 17:03, 18 December 2017

ARIA menus

Menubar with menu items that contain menus with other menu items