WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: ARIA for main navigation bar

for

From: _mallory
Date: Apr 24, 2015 3:54AM


On Thu, Apr 23, 2015 at 10:54:31PM +0000, <EMAIL REMOVED> wrote:
> These are great points.
>
> My next questionÅ 
>
> It is my understanding that "aria-selected" can only be applied to menu
> items and not list items. So do you recommend simply using hidden text to
> communicate a selected or "you are here" state? (Standards pain point, but
> I gotta make what we have today work.)

In our menus, when you're "inside" the page, the selected category has
a class of "active" to highlight the current cat visually. In the
templates we then also add an offscreen span with "current page: "
before the cat name.

_mallory