UIROLES-131 add deque axe a11y tests #93
Draft
GitHub Actions / Jest Unit Test Results
failed
Jan 25, 2025 in 0s
1 fail, 7 pass in 21s
Annotations
Check warning on line 0 in SettingsPage has no a11y violations according to axe
github-actions / Jest Unit Test Results
SettingsPage has no a11y violations according to axe (SettingsPage has no a11y violations according to axe) failed
artifacts/jest-junit/junit.xml [took 0s]
Raw output
Error: expect(received).toHaveNoViolations(expected)
Expected the HTML found at $('input') to have no violations:
<input data-testid="search-field">
Received:
"Form elements must have labels (label)"
Fix any of the following:
Form element does not have an implicit (wrapped) <label>
Form element does not have an explicit <label>
aria-label attribute does not exist or is empty
aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
Element has no title attribute
Element has no placeholder attribute
Element's default semantics were not overridden with role="none" or role="presentation"
You can find more information on this issue here:
https://dequeuniversity.com/rules/axe/4.9/label?application=axeAPI
at Object.toHaveNoViolations (/home/runner/work/ui-authorization-roles/ui-authorization-roles/src/settings/SettingsPage/SettingsPage.test.js:161:21)
Loading