Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scrollable-region-focusable rule causing false positives #1582

Closed
kensgists opened this issue May 22, 2019 · 5 comments
Closed

scrollable-region-focusable rule causing false positives #1582

kensgists opened this issue May 22, 2019 · 5 comments
Assignees
Labels
fix Bug fixes rules Issue or false result from an axe-core rule

Comments

@kensgists
Copy link

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....

@WilcoFiers WilcoFiers added fix Bug fixes rules Issue or false result from an axe-core rule labels May 24, 2019
@WilcoFiers WilcoFiers added this to the Axe-core 3.3 milestone May 24, 2019
@WilcoFiers
Copy link
Contributor

Yikes! Good find. Thanks Ken! I'll make sure we fix it before the 3.3 release.

@chandana7393
Copy link

Working as expected.
conatiner_scrollable
Tested Environment:
Axe-coconut - 3.8.0.15404v
Chrome - 74v
OS - Windows 10 64 bit.

@backwardok
Copy link

@WilcoFiers noticed this issue is happening again. Using the axe-core 4.3.5, a clipped overflow region is getting flagged as a scrollable region

I made a really simple codepen with overflow examples where axe is flagging the page as having an issue for the clipped content.

@straker
Copy link
Contributor

straker commented Nov 12, 2021

@backwardok I see what's going on. Could you open a new issue so we can track it? Thanks.

@backwardok
Copy link

backwardok commented Nov 12, 2021

@straker sounds good! I'll create a new issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fixes rules Issue or false result from an axe-core rule
Projects
None yet
Development

No branches or pull requests

5 participants