WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Success Criterion 1.3.1: Info and Relationships: what about inaccessible drop-down menus?

for

From: Steve Green
Date: Aug 11, 2020 8:42AM


Our usual interpretation of 1.3.1 is that if a series of links looks like it is a navigation item, it should be marked-up in a <nav> element with a unique "aria-label" attribute that describes its purpose, such as "main menu", "secondary navigation", "breadcrumb" etc.

Furthermore, if the series of links look like a list (which they invariably do) they should be marked-up as a <ul> element.

Dropdown menus usually look like nested lists, so that is how they should be marked-up.

The visually expanded / collapsed state of the dropdowns need to be conveyed programmatically using the "aria-expanded" attribute.

Depending on how the menu is constructed, there may be other visual aspects that need to be conveyed programmatically.

If all these things are done, the structure of the menu and the relationship between the top-level link and the sub-links in the pull-down menu will survive when the menu is being accessed by a screen reader.

Without seeing the code I can't say which WCAG success criteria your menu doesn't conform with. However, if the menu is not keyboard accessible, it is likely that other success criteria are non-conformant. It may or may not be conformant with 1.3.1.

Steve Green
Managing Director
Test Partners Ltd