Skip to content

Markup and a11y mappings for navigation menus #1452

Description

@josepharhar

For the next iteration of menu elements which are for links instead of menuitems, what should the a11y mappings be and how does that constrain what the HTML markup can be? There may have been discussions about this already somewhere.

It seems like there are two relevant APG examples:

Should each "item" which opens a submenu be mapped as a button or a menuitem? Should each list of links and buttons which open submenus be mapped as a menu or as a list?

The disclosure navigation menu wraps all of the markup in one nav element, but the structure we are currently going for with menulist/menubar/menuitem doesn't use nesting to put the entire thing in one element. Can we still avoid nesting for the HTML to keep it consistent with application menus and navigation menus?

@scottaohara

Metadata

Metadata

Assignees

No one assigned

    Labels

    agenda+Use this label if you'd like the topic to be added to the meeting agendamenuMenu elements proposal

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions