dequelabs / dequelabs/axe-core

Which rules are supported by JSDOM?

Open
#4,021 2 comments 1 reaction 0 assignees View on GitHub
docs feat rule metadata
Dominant language
JavaScript
Stars
7.5k
Forks
933
Avg merge
2d 23h
Merged PRs (30d)
17

Description

### Product

axe-core

### Description

In the [jest_react](https://github.com/dequelabs/axe-core/tree/develop/doc/examples/jest_react) example, color-contrast and link-in-text-block are disabled because [the readme states](https://github.com/dequelabs/axe-core/tree/develop/doc/examples/jest_react#to-run-the-example) that they're not supported in JSDOM.

The [main readme](https://github.com/dequelabs/axe-core/tree/develop#supported-browsers) however only calls out the color-contrast rule not working. (Not owned by Deque, but maybe worth noting, this is also corroborated by [jest-axe](https://github.com/NickColley/jest-axe#checks-that-do-not-work-in-jest-axe) which also says only color-contrast doesn't work.)

Just wondering if it's known which documentation is most up to date? Might also be worth documenting exactly why they're not supported in JSDOM (i.e., what specific APIs are missing)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.