feat: 🎸 added jest-axe#2650
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2650 +/- ##
=======================================
Coverage 84.19% 84.19%
=======================================
Files 102 102
Lines 1120 1120
Branches 308 308
=======================================
Hits 943 943
Misses 171 171
Partials 6 6
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
|
I loved this change! Big-yes for Accessibility!! 🎸 I would, if possible, ask, instead of using English strings, to create translation keys for your aria-labels and add them on the Also, can we add a section just for Accessibility within |
d31eb1b to
907ff1d
Compare
|
I find the error As we have code inline to help with accessibility for the search input. i.e.:
|
ovflowd
left a comment
There was a problem hiding this comment.
Approved, but I think we should add axe to all pages, no?
Clicking the icon does not expand the input for me - on Chrome. I have to click the label (Search). |
Excuse me 😅 , I meant onKeyPress, not onClick. But it's still interactive because of its |
Yes we should. They can be added in follow up PR's |
Check List
npm run lint:js -- --fixand/ornpm run lint:md -- --fixfor my JavaScript and/or Markdown changes.npm run testto check if all tests are passing, and/ornpm run test -- -uto update snapshots if I created and/or updated React Components.npm run buildwork fine.Description
Adds the jest-axe dep so we can write tests to test for accessibility.
code example from their docs: