Fix vue_shared/components/ci_icon/ci_icon.stories.js
vue_shared/ci_icon/ci_icon › NoLink › smoke-test
assert.fail(received, expected)
Message:
Found 1 accessibility violations:
-----------------------------------
Expected the HTML found at $('.ci-icon') to have no violations:
<span variant="success" title="Success" aria-label="Status: Success" data-testid="ci-icon" class="ci-icon gl-inline-flex gl-items-center gl-text-sm ci-icon-variant-success">
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 🤖