Skip to content

Commit 4b8fd0b

Browse files
authored
docs: add note about jest-axe (#226)
1 parent 8af11fc commit 4b8fd0b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -866,6 +866,11 @@ independent from jest, and can be used with other tests runners as well.
866866
I'm not aware of any, if you are please [make a pull request][prs] and add it
867867
here!
868868

869+
If you would like to further test the accessibility and validity of the DOM
870+
consider [`jest-axe`](https://github.com/nickcolley/jest-axe). It doesn't
871+
overlap with `jest-dom` but can complement it for more in-depth accessibility
872+
checking (eg: validating `aria` attributes or ensuring unique id attributes).
873+
869874
## Guiding Principles
870875

871876
> [The more your tests resemble the way your software is used, the more

0 commit comments

Comments
 (0)