guardian / guardian/dotcom-rendering

DAC: Unique and descriptive labels for repeatable buttons

Open
#5,336 0 comments 0 reactions 0 assignees View on GitHub
a11y Accessibility Audit
Dominant language
TypeScript
Stars
274
Forks
34
Avg merge
2d 22h
Merged PRs (30d)
121

Description

Some kinds of buttons can occur multiple times on a single page, e.g.:

- `show` and `hide` buttons on containers on Fronts pages
- `+1` and `-1` buttons

Users who are navigating the page in a non-contextual mode will just see the same labels repeated for different instances of the buttons. It was recommended that we find a way of attaching more information to the labels for these buttons, to add context for non-contextual navigation. (E.g. `hide Opinion section`?)

(Closely related to #5335 )

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.