WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: avoiding tabbing through drop downs

for

From: Geof Collis
Date: Mar 5, 2010 5:24PM


Are you saying that only people who use a mouse can access the whole
list while screen readers and keyboard users have to take extra
measures to access the same list/pages?

cheers

Geof

AIn general, the approach we recommended was 'hiding' the drop-down
>menus directly from keyboard (and thus screen reader) users. The
>sub-navigation links would be hidden with CSS so as to not be
>navigated to or read by a screen reader (e.g., display:none in CSS or
>not part of the page at all until generated on-demand by scripting).
>The main navigation item would trigger the display of the sub-menu
>items with onmouseover only. Because this event is not triggered by
>the keyboard, the menu would not appear unless you're using a mouse.
>The main menu item would also be a standard, accessible link to a
>secondary page that provides the sub-navigation links in standard
>HTML, plus optimally some additional content that is relevant (it