Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop navigation menubar example that overloads parent menuitems with a navigationn target #159

Closed
mcking65 opened this issue Nov 15, 2016 · 6 comments
Assignees
Labels
enhancement Any addition or improvement that doesn't fix a code bug or prose inaccuracy Example Page Related to a page containing an example implementation of a pattern

Comments

@mcking65
Copy link
Contributor

mcking65 commented Nov 15, 2016

Note 4 in the keyboard section of the
menu design pattern
reads:

Although it is recommended that authors avoid doing so, some implementations of navigation menubars may have menuitem elements that both perform a function and open a submenu. In such implementations, enter and Space perform a navigation function, e.g., load new content, while Down Arrow, in a horizontal menubar, opens the submenu associated with that same menuitem."

That is, parent menu items, especially those in a menubar, can be overloaded to both execute a link and open a submenu.

Per discussion in the
November 14, 2016 authoring practices task force meeting, @accdc raised this as an important pattern as did @terrill in his
comment on issue 145.
The conclusion was that we should have an example that demonstrates this menuitem overloading practice because it is so common on the web and failing to provide an example will lead people to invent their own ways that may not be accessible.

The proposal is to have example 2 of the navigation menu examples
demonstrate this behavior. Specifically:

  1. The following menuitems would open a page when enter or space is pressed or when clicked:
    • Research
    • Outreach
    • Arts and Culture
  2. The submenus for those menuitems would open either on hover or when focused and down arrow is pressed.
@mcking65 mcking65 added this to the 1.1 Q4 PWD milestone Nov 15, 2016
@mcking65 mcking65 added the Example Page Related to a page containing an example implementation of a pattern label Nov 15, 2016
@a11ydoer
Copy link
Contributor

@mcking65 @jongund @jnurthen

Is this within the goal of December public working draft of ARIA Practices?

@mcking65
Copy link
Contributor Author

@a11ydoer
I consider it nice to have for the December publication if it is relatively small amount of work. No worries if you can not contain it.

@a11ydoer
Copy link
Contributor

@jongund
This is old issue. do you think we can close the issue?

@jongund
Copy link
Contributor

jongund commented May 26, 2020

@a11ydoer
This is still an unresolved issue, ARIA currently does not have a good way to inform users that a widget has two different purposes, in this case following a link or opening a popup menu.

@JAWS-test
Copy link

I think it would be good if there is a way to mark a menu item with a submenu so that it can be identified whether it can only be activated to open a submenu or whether a function can be triggered in addition to opening the submenu (e.g. a page opened). Even if this is often not visually obvious, it would be good if this could be perceived with AT.

@carmacleod
Copy link
Contributor

I don't think we should do this. I think that #1614 shows a better way to do this.
Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Any addition or improvement that doesn't fix a code bug or prose inaccuracy Example Page Related to a page containing an example implementation of a pattern
Development

No branches or pull requests

5 participants