feat: a shared dropdown menu component

Open
#786 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust

Research direction

Start with the tracking issue #776 and read §4.5 (contract row) and §13.7.5 (component, gallery entry, axe-core and ARIA snapshot rows, keyboard-only scenarios). Then look at the existing Button, Popover and Lucide Icon components this issue is blocked on, since the menu button composes them. Done means the component, gallery entry, contract row and all §13.7.5 test rows exist and the keyboard behavior (arrows, Home/End, type-ahead, Escape) meets WCAG 2.2 AA.

Written by the indexing model from the issue text.

Description

accessibility enhancement

Part of #776.

A shared menu button: a Button with aria-haspopup and aria-expanded opening a menu in a Popover, arrow keys, Home and End, type-ahead, Escape back to the button. Native <select> stays the choice for picking a value.

Needs first: Button, Popover, Icon (Lucide) (see "blocked by").

Acceptance: Meets the bar in the tracking issue: WCAG 2.2 AA in full when it merges, a contract row in §4.5, and every step of §13.7.5 (component, gallery entry, axe-core and ARIA snapshot rows, keyboard-only contract scenarios).

Dominant language
Rust
Stars
0
Forks
0
Avg merge
56m
Merged PRs (30d)
349

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from nledford/Ladderback

All issues in nledford/Ladderback

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.