- Notifications
You must be signed in to change notification settings - Fork 381
Closed
Description
Hey Kent!
Been going through your course and am really loving it. I was writing a test today to check the accessibility of a form I new wasn't accessible to begin with, but was surprised that it passed the test. I checked in this repo as well to find the same thing. If you check the a11y.js file, the following test will pass:
test('accessible forms pass axe', async () => { const {container} = render(<InaccessibleForm />) expect(await axe(container)).toHaveNoViolations() })Any idea why? I looked into the issue for a minute online but can't seem to find anyone else experiencing this issue.
aakashsardana
Metadata
Metadata
Assignees
Labels
No labels