react-component / react-component/switch

Button without text or aria label violates Axe rule

Open
#45 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
196
Forks
80
PR merge metrics
No merged PRs in 30d

Description

Critical rule violated by component:

https://dequeuniversity.com/rules/axe/3.4/button-name?application=axeAPI

I believe this introduced by this #26 in response to #22

Contributor guide

No contributing guide indexed for this repository

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

Start by reproducing the Axe button-name violation described in the linked Deque rule against the switch component. Inspect the change referenced as #26 and its relationship to #22 to identify the introduced behavior. Done means the component no longer violates the button-name rule by exposing text or an accessible label.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
accessibility, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.