Skip to content

scrollable-region-focusable rule causing false positives #1582

@kensgists

Description

@kensgists

This new rule is causing standard accessible text clipping techniques to fail. For example, this CSS:

.accessible-text { position: absolute !important; clip: rect(0.0625rem 0.0625rem 0.0625rem 0.0625rem); clip: rect(0.0625rem, 0.0625rem, 0.0625rem, 0.0625rem); padding: 0 !important; border: 0 !important; height: 0.0625rem !important; width: 0.0625rem !important; overflow: hidden; }

is marked as a violation in axe-coconut.

@WilcoFiers pointed out above that elements with overflow:hidden might be exempted. I think this is a good idea.

We use axe-coconut for testing because of some of the useful experimental rules. But now we are getting vast numbers of false positives due to this new rule.

Note: I put this same text mistakenly on the PR for this rule....

Metadata

Metadata

Assignees

Labels

fixBug fixesrulesIssue or false result from an axe-core rule

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions