Menus should either be built using the HTML5 "nav" element or include a "role" attribute that equals to "menu" or "navigation" to indicate a navigation landmark for screen-readers. Menu items that have a dropdown menu include an "aria-expanded" attribute that equals to "false" that changes to "true" and back when opening or closing the dropdown.
Menus should either be built using the HTML5 "nav" element or include a "role" attribute that equals to "menu" or "navigation" to indicate a navigation landmark for screen-readers. Menu items that have a dropdown menu include an "aria-expanded" attribute that equals to "false" that changes to "true" and back when opening or closing the dropdown.