Fix app/assets/javascripts/vue_shared/components/import/import_source_list_table.stories.js
FAIL app/assets/javascripts/vue_shared/components/import/import_source_list_table.stories.js (19.156 s)
● vue_shared/import/import_source_list_table › Functional › smoke-test
assert.fail(received, expected)
Message:
Found 1 accessibility violations:
-----------------------------------
Expected the HTML found at $('#gitlab_ui_checkbox_1') to have no violations:
<input type="checkbox" id="gitlab_ui_checkbox_1" class="custom-control-input" value="true">
Received:
Form elements must have labels (label)
Fix any of the following:
Element does not have an implicit (wrapped) <label>
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.10/label?application=axeAPI
-----------------------------------
Expected the HTML found at $('#gitlab_ui_checkbox_2') to have no violations:
<input type="checkbox" id="gitlab_ui_checkbox_2" class="custom-control-input" value="true">
Received:
Form elements must have labels (label)
Fix any of the following:
Element does not have an implicit (wrapped) <label>
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.10/label?application=axeAPI
-----------------------------------
Expected the HTML found at $('#gitlab_ui_checkbox_3') to have no violations:
<input type="checkbox" id="gitlab_ui_checkbox_3" class="custom-control-input" value="true">
Received:
Form elements must have labels (label)
Fix any of the following:
Element does not have an implicit (wrapped) <label>
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.10/label?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 🤖