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

Can have menus where the top level is also a link #244

Open
9 tasks
maxkadel opened this issue Jun 26, 2024 · 0 comments
Open
9 tasks

Can have menus where the top level is also a link #244

maxkadel opened this issue Jun 26, 2024 · 0 comments

Comments

@maxkadel
Copy link
Contributor

maxkadel commented Jun 26, 2024

User story

In order to work in the same way as https://library.psb-prod.princeton.edu/ we need users to be able to click on a top-level link that also has a sub-menu.

Acceptance criteria

  • Works like https://library.psb-prod.princeton.edu/

  • Both the link and the drop-down caret are in the tab order

  • The link goes to a configured page

  • The caret opens the drop-down menu when you press enter on it

  • When you hover on either the link or the caret it opens the drop-down menu - no change on hover

  • No need to create an animation on the caret

  • If there is no top-level link, it simply opens the menu

  • I can successfully use this feature with Voice Over in Safari.

  • I have checked this feature using one of the following browser extensions and confirmed that it does not add any level A or level AA issues:

    • axe dev tools
    • Lighthouse
    • Wave

Concrete example

See, for example, the "Help" menu on https://library.psb-prod.princeton.edu/. Clicking on the top-level link takes you to a "help" page, but you can also see sub-menus when hovering or tabbing over it.

Implementation notes, if any

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant