Skip to content

Report case sensitivity issues #2695

@WilcoFiers

Description

@WilcoFiers

Saw a question come up today about:

<ul role="list">
  <li role="listItem">...</li>
</ul>

The problem is that capital letter "I" in "listItem". There are two possible issues there:

  1. I'm not so sure this should be case sensitive, we should test our ARIA rules to figure out where case sensitivity matters and where it doesn't. If it followed the specs, it should be case insensitive in HTML and case sensitive in XHTML.

  2. In such cases, it would be good for axe-core to explicitly call out that the item was failed because of case sensitivity.

  3. It would be nice to report this particular case as needs review instead of a fail, because the implicit role here is the correct role. This is a false positive.

Metadata

Metadata

Assignees

Labels

good first issueFor first-time contributorsrulesIssue or false result from an axe-core rule

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions