Difference between revisions of "ARIA Menu"

From Level Access Web Labs
Jump to navigation Jump to search
Line 58: Line 58:
 
                   obj.style.display = "block";
 
                   obj.style.display = "block";
 
             }
 
             }
                 else if (!visible(obj))
+
                 else if (!visible(obj)) {
 
                   obj.style.display = "block";
 
                   obj.style.display = "block";
 
                   obj.setAttribute("aria-expanded","true");
 
                   obj.setAttribute("aria-expanded","true");
 +
                }
 
                 else
 
                 else
 
                     obj.style.display = "none";
 
                     obj.style.display = "none";

Revision as of 15:00, 7 March 2018

ARIA menus

Menubar with menu items that contain menus with other menu items