dequelabs / dequelabs/axe-core

Report when aria-attr is case sensitive and user uses mixed/upper case

Open
#5,280 0 comments 0 reactions 0 assignees View on GitHub
rules
Dominant language
JavaScript
Stars
7.5k
Forks
933
Avg merge
2d 23h
Merged PRs (30d)
17

Description

https://github.com/dequelabs/axe-core/pull/5224 added case sensitive information to all `boolean` and `mntokens` attributes. We should report needs review any time an attribute is case sensitive and the value is not all lowercase. I think it might make the most sense as a new check to `aria-allowed-attr` similar to the check `aria-unsupported-attr`.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing PR 5224 to understand how case-sensitive information is represented for boolean and mntokens attributes. Then inspect the aria-allowed-attr check alongside aria-unsupported-attr and its tests. Done means mixed- or uppercase values for case-sensitive attributes are reported as needing review, while lowercase values are not.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
accessibility
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.