-
- Downloads
Improve querying icons in tests (#13230)
* Add `role` and `aria-label` to icons * Expand `Icon` unit tests * Simplify `NON_STANDARD_VIEWBOX_ICON` * Update snapshots related to a11y improvements to icons * Pass `aria-label` directly as an icon attribute
Showing
- frontend/src/metabase/components/Icon.jsx 4 additions, 5 deletionsfrontend/src/metabase/components/Icon.jsx
- frontend/src/metabase/icon_paths.js 3 additions, 1 deletionfrontend/src/metabase/icon_paths.js
- frontend/test/metabase/components/Icon.unit.spec.js 37 additions, 5 deletionsfrontend/test/metabase/components/Icon.unit.spec.js
- frontend/test/metabase/components/__snapshots__/Button.unit.spec.js.snap 2 additions, 0 deletions...etabase/components/__snapshots__/Button.unit.spec.js.snap
- frontend/test/metabase/components/__snapshots__/Calendar.unit.spec.js.snap 4 additions, 0 deletions...abase/components/__snapshots__/Calendar.unit.spec.js.snap
- frontend/test/metabase/internal/__snapshots__/components.unit.spec.js.snap 40 additions, 0 deletions...abase/internal/__snapshots__/components.unit.spec.js.snap
Loading
Please register or sign in to comment