openui / openui/open-ui

[menu] Activation behavior for opening submenus

Open
#1,190 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

interest-invokers menu needs-triage
Dominant language
MDX
Stars
4.5k
Forks
226
Avg merge
2d 22h
Merged PRs (30d)
4

Description

If a menuitem is hooked up to open a submenu:

  1. Should hovering or clicking invoke the submenu? Should it be developer controllable?
  2. Should keyboard focus open the submenu, or should you have to focus and then press another keyboard button to open the submenu?
  • Where should keyboard focus go when the submenu is invoked?

Does interesttarget already have answers to all of these questions? If so, how could we ergonomically combine interesttarget with however we hook up the association between a menuitem and submenu?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the unanswered activation and focus questions in this issue together with the referenced interesttarget proposal. A useful outcome is a resolved specification for submenu association, pointer and keyboard activation, and focus placement; no files or tests are named in the payload.

Written by the indexing model from the issue text.

Assessment

Domain
accessibility, frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.