You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Accessibility violation is found when Table has search enabled in the toolbar. The input field needs aria-label to be set.
To Reproduce
Though I am not sure why PAL's next storybook isn't showing this accessibility violation, but Maximo Graphite which uses the Table component does throw this in its storybook's accessibility tab.
This is a bug with axe-core package. If you do the same scans in our storybook you will see that we do not have the same violations. The fix is to upgrade your version of storybook or resolve axe-core to a compatible version that has the fix included.
What package is this for?
Describe the bug
Accessibility violation is found when
Table
has search enabled in the toolbar. Theinput
field needsaria-label
to be set.To Reproduce
Though I am not sure why PAL's next storybook isn't showing this accessibility violation, but Maximo Graphite which uses the
Table
component does throw this in its storybook's accessibility tab.Adding aria-label to the
input
seems to fix the accessibility violation.https://dequeuniversity.com/rules/axe/4.3/label-title-only
I think this needs to be done at carbon(carbon-components-react) end, which has the base component.
Expected behavior
Aria-label is set in the
input
of search and Graphite storybook should show no 'Ensures every form element has a label' accessibility violationsEnvironment/versions:
carbon-addons-iot-react
version: 2.149.0-next.10The text was updated successfully, but these errors were encountered: