Fix app/assets/javascripts/vue_shared/components/expand_collapse_button/expand_collapse_button.stories.js
FAIL app/assets/javascripts/vue_shared/components/expand_collapse_button/expand_collapse_button.stories.js (9.493 s)
● vue_shared/expand_collapse_button › MultipleSections › smoke-test
assert.fail(received, expected)
Message:
Found 1 accessibility violations:
-----------------------------------
Expected the HTML found at $('button[aria-label="Collapse "]') to have no violations:
<button aria-label="Collapse " aria-expanded="true" aria-controls="section2-content" type="button" class="-gl-mr-2 gl-ml-3 !gl-p-0 btn gl-button btn-default btn-sm btn-default-tertiary">
Received:
ARIA attributes must conform to valid values (aria-valid-attr-value)
Fix all of the following:
Invalid ARIA attribute value: aria-controls="section2-content"
You can find more information on this issue here:
https://dequeuniversity.com/rules/axe/4.10/aria-valid-attr-value?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 🤖