feat: a shared button group component

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
html, rust

Research direction

Start from tracking issue #776 and read its §4.5 contract table and §13.7.5 checklist, then copy the structure of the existing Button component and its gallery entry once the Button blocker lands. The pieces to produce are the component (a named role="group" and/or a single-choice toolbar with aria-pressed and arrow-key movement, wrapping at 320 px with 200 % text), a gallery entry, axe-core and ARIA snapshot rows, and keyboard-only scenarios. Done means the checkbox rows in §13.7.5 are filled and the §4.5 contract row exists.

Written by the indexing model from the issue text.

Description

accessibility enhancement

Part of #776.

A shared group of related buttons, such as a choice between views: a role="group" with a name, or a single-choice toolbar with arrow-key movement and aria-pressed, whichever the use needs, wrapping at 320 px with 200 % text.

Needs first: Button (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.