Skip to content

axe-core and devtools results are different #4772

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

Open
kriskeiko opened this issue May 15, 2025 · 1 comment
Open

axe-core and devtools results are different #4772

kriskeiko opened this issue May 15, 2025 · 1 comment
Labels
info needed More information or research is needed to continue question

Comments

@kriskeiko
Copy link

Product

axe-core

Question

I am using the axe-core library with playwright, and when I run it on a page, I get a total of 4 violations, all of them serious. When I use the devtools to do a scan, I get the same 4 serious errors, plus 5 extra errors:

  • Images must have alt text (x2)
  • Elements must meet minimum color contrast ratio thresholds
  • Frames must have an accessible name
  • Links must be distinguishable without relaying on color.

Why am I getting different results with the devtools version? Shouldn't they be the same?

@kriskeiko kriskeiko added question ungroomed Ticket needs a maintainer to prioritize and label labels May 15, 2025
@straker
Copy link
Contributor

straker commented May 15, 2025

Thanks for the issue. Just so we're on the same page, which packages are you using exactly? When you say "axe-core library with playwright" do you mean https://www.npmjs.com/package/@axe-core/playwright? And when you say "the devtools" what do you mean?

@straker straker added info needed More information or research is needed to continue and removed ungroomed Ticket needs a maintainer to prioritize and label labels May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info needed More information or research is needed to continue question
Projects
None yet
Development

No branches or pull requests

2 participants