E-mail List Archives
Re: ARIA for main navigation bar
From: _mallory
Date: Apr 24, 2015 3:54AM
- Next message: Jonathan Avila: "Re: ARIA for main navigation bar"
- Previous message: _mallory: "Re: Javascript turned off a violation or user preference?"
- Next message in Thread: Jonathan Avila: "Re: ARIA for main navigation bar"
- Previous message in Thread: Gijs Veyfeyken: "Re: ARIA for main navigation bar"
- View all messages in this Thread
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
- Next message: Jonathan Avila: "Re: ARIA for main navigation bar"
- Previous message: _mallory: "Re: Javascript turned off a violation or user preference?"
- Next message in Thread: Jonathan Avila: "Re: ARIA for main navigation bar"
- Previous message in Thread: Gijs Veyfeyken: "Re: ARIA for main navigation bar"
- View all messages in this Thread