WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: [External Sender] navigation menu: aria or HTML?

for

From: Isabel Holdsworth
Date: Oct 1, 2018 7:34AM


Hi Edelényi,

And even better if the <nav> can have an aria-label that provides info
about what sort of navigation it is:-
<nav aria-label="Section navigation">
Sighted users can often work this out by the position, colour and
sstile of the navigation options, but users with sight problems would
likely appreciate this extra info.

Cheers, Isabel

On 01/10/2018, Brian Lovely via WebAIM-Forum
< <EMAIL REMOVED> > wrote:
> If the list items are intended to be actionable, then a better solution is:
>
> <nav>
> <ul>
> <li><a href="#">stuff</a></li>
> </ul>
> </nav>
>
> You have the semantics of the container, the list, and the actionable
> elements intact.
>
> On Mon, Oct 1, 2018 at 8:18 AM Brian Lovely < <EMAIL REMOVED> >
> wrote:
>
>> Version 2 orphans the list items by changing the role of the containing
>> element from list to navigation.
>>
>> On Mon, Oct 1, 2018 at 12:50 AM Edelényi Zsolt Péter < <EMAIL REMOVED> >
>> wrote:
>>
>>> Hi all,
>>>
>>> Do you know any preferences (pro&contra) of these markups?
>>>
>>>
>>>
>>> >>> >>> https://urldefense.proofpoint.com/v2/url?u=http-3A__list.webaim.org_&d=DwIFBA&c=pLULRYW__RtkwsQUPxJVDGboCTdgji3AcHNJU0BpTJE&r=nA3L5qBjLdo-DJ8qQBz88lq5Xb3jw-WFZTeJjcwjLdE&m=tGseV3ZJbblsnNKTPj6sWaDJBqVLbI1qIcWPgduILew&s=-o1yIOqKadxlYVzcu8GtJ9yNYVZ-LmuKzt_Kho0OZU0&e>>> List archives at
>>> https://urldefense.proofpoint.com/v2/url?u=http-3A__webaim.org_discussion_archives&d=DwIFBA&c=pLULRYW__RtkwsQUPxJVDGboCTdgji3AcHNJU0BpTJE&r=nA3L5qBjLdo-DJ8qQBz88lq5Xb3jw-WFZTeJjcwjLdE&m=tGseV3ZJbblsnNKTPj6sWaDJBqVLbI1qIcWPgduILew&s=xtv4pob44_4_OhNH4TcaTsJZHaC5A48rjCrB1-BnKLg&e>>> >>>
>>
>>
>> --
>> *Brian Lovely*
>> Digital Accessibility
>> 804.389.1064
>>
>
>
> --
> *Brian Lovely*
> Digital Accessibility
> 804.389.1064
> >
> The information contained in this e-mail is confidential and/or proprietary
> to Capital One and/or its affiliates and may only be used solely in
> performance of work or services for Capital One. The information transmitted
> herewith is intended only for use by the individual or entity to which it is
> addressed. If the reader of this message is not the intended recipient, you
> are hereby notified that any review, retransmission, dissemination,
> distribution, copying or other use of, or taking of any action in reliance
> upon this information is strictly prohibited. If you have received this
> communication in error, please contact the sender and delete the material
> from your computer.
> > > > >