Fix merge_requests/reports/components/secuity_list_item.stories.js
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
merge_requests/reports/security_list_item › Loading › smoke-test
assert.fail(received, expected)
Message:
Found 1 accessibility violations:
-----------------------------------
Expected the HTML found at $('.ci-icon') to have no violations:
<span variant="info" aria-label="Status: " data-testid="ci-icon" class="ci-icon gl-inline-flex gl-items-center gl-text-sm ci-icon-variant-info">
Received:
Elements must only use permitted ARIA attributes (aria-prohibited-attr)
Fix all of the following:
aria-label attribute cannot be used on a span with no valid role attribute.
You can find more information on this issue here:
https://dequeuniversity.com/rules/axe/4.10/aria-prohibited-attr?application=axeAPI
-----------------------------------
at TerminalReporterV2.<anonymous> (storybook/node_modules/axe-playwright/dist/reporter/terminalReporterV2.js:64:34)
at storybook/node_modules/axe-playwright/dist/reporter/terminalReporterV2.js:8:71
at Object.<anonymous>.__awaiter (storybook/node_modules/axe-playwright/dist/reporter/terminalReporterV2.js:4:12)
at TerminalReporterV2.report (storybook/node_modules/axe-playwright/dist/reporter/terminalReporterV2.js:22:16)
at storybook/node_modules/axe-playwright/dist/index.js:97:20
at storybook/node_modules/axe-playwright/dist/index.js:31:71
at Object.<anonymous>.__awaiter (storybook/node_modules/axe-playwright/dist/index.js:27:12)
at reportViolations (storybook/node_modules/axe-playwright/dist/index.js:96:52)
at storybook/node_modules/axe-playwright/dist/index.js:141:44
at fulfilled (storybook/node_modules/axe-playwright/dist/index.js:28:58)
Edited by 🤖 GitLab Bot 🤖