Commit 5f94d52
byRole queries return only accessibility elements (#1244)
* refactor: group tests in accessibility
* feat: add isAccessibilityElement helper
* chore: fix typo
* feat: handle accessible in byrole
* feat: only check accessibility when useBreakingChanges true
* test: group a11y tests together
* test: add implicit accessible test
* test: review byrole test titles
* test: add test case for byRole
* refactor: code review changes
* fix: code cov warnings
Co-authored-by: Maciej Jastrzębski <mdjastrzebski@gmail.com>1 parent d261f61 commit 5f94d52
File tree
8 files changed
+1073
-141
lines changed- src
- __tests__
- helpers
- __tests__
- queries
- __tests__
8 files changed
+1073
-141
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
| |||
45 | 50 | | |
46 | 51 | | |
47 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
48 | 71 | | |
0 commit comments