GoogleChrome / lighthouse

Automated auditing, performance metrics, and best practices for the web.
https://developer.chrome.com/docs/lighthouse/overview/
Apache License 2.0
28.01k stars 9.31k forks source link

`aria-allowed-role` description is misleading #16023

Closed hamirmahal closed 3 weeks ago

hamirmahal commented 1 month ago

FAQ

URL

https://hamirs-filmfinder.vercel.app/

What happened?

I got an ARIA violation, but, as far as I can tell, the flagged code doesn't violate any of the rules listed.

What did you expect?

I should only get an ARIA violation if the code violates a rule.

What have you tried?

No response

How were you running Lighthouse?

CLI

Lighthouse Version

11.4.0

Chrome Version

No response

Node Version

No response

OS

No response

Relevant log output

No response

hamirmahal commented 1 month ago

https://storage.googleapis.com/lighthouse-infrastructure.appspot.com/reports/1716840291297-34295.report.html may be helpful.

hamirmahal commented 1 month ago

I opened this issue in https://github.com/dequelabs/axe-core/issues/4480, first.

Also it looks like the Lighthouse summary of the rule is incorrect as well as that description looks like it fits aria-roles instead of aria-allowed-role. You might want to open an issue with Lighthouse and bring that up.

adamraine commented 1 month ago

Yeah seems like a docs/description issue we should fix.