Accessibility [FastPass]: Fix settings general missing aria input labels #9347
frontend.yml
on: pull_request
Matrix: build
Matrix: build docs
Matrix: build storybook
Matrix: lint
Matrix: test
Matrix: test plugins
Annotations
2 errors and 11 warnings
|
test (20.x, ubuntu-22.04)
Process completed with exit code 2.
|
|
src/storybook.test.tsx > Storybook Tests > Settings > General:
frontend/src/storybook.test.tsx#L236
Error: Snapshot `Storybook Tests > Settings > General 1` mismatched
- Expected
+ Received
@@ -185,18 +185,25 @@
>
<div
class="MuiFormControl-root css-1nrlq1o-MuiFormControl-root"
>
<div
+ class="MuiBox-root css-1hyfx7x"
+ id="rows-per-page-label"
+ >
+ Rows per page
+ </div>
+ <div
+ aria-labelledby="rows-per-page-label"
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl MuiInputBase-sizeSmall css-uwmwwo-MuiInputBase-root-MuiOutlinedInput-root-MuiSelect-root"
style="width: 100px;"
>
<div
aria-controls=":mock-test-id:"
aria-expanded="false"
aria-haspopup="listbox"
- aria-label="option 15"
+ aria-labelledby="rows-per-page-label"
class="MuiSelect-select MuiSelect-outlined MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall css-oswssk-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"
role="combobox"
tabindex="0"
>
15
❯ src/storybook.test.tsx:236:11
|
|
lint (20.x, ubuntu-22.04)
Failed to save: reserveCache failed: Cache service responded with 503
|
|
lint (20.x, ubuntu-22.04)
Failed to restore: getCacheEntry failed: Cache service responded with 503
|
|
build docs (20.x, ubuntu-22.04)
Failed to save: reserveCache failed: Cache service responded with 503
|
|
build docs (20.x, ubuntu-22.04)
Failed to restore: getCacheEntry failed: Cache service responded with 503
|
|
build (20.x, ubuntu-22.04)
Failed to save: reserveCache failed: Cache service responded with 503
|
|
build (20.x, ubuntu-22.04)
Failed to restore: getCacheEntry failed: Cache service responded with 503
|
|
test (20.x, ubuntu-22.04)
Failed to restore: getCacheEntry failed: Cache service responded with 503
|
|
build storybook (20.x, ubuntu-22.04)
Failed to save: reserveCache failed: Cache service responded with 503
|
|
build storybook (20.x, ubuntu-22.04)
Failed to restore: getCacheEntry failed: Cache service responded with 503
|
|
test plugins (20.x, ubuntu-22.04)
Failed to save: reserveCache failed: Cache service responded with 503
|
|
test plugins (20.x, ubuntu-22.04)
Failed to restore: getCacheEntry failed: Cache service responded with 503
|