discourse/plugins/discourse-local-dates/test/javascripts/unit
Kris f66339338e
A11Y: SVG icons should be hidden unless a label is provided (#33059)
This is fairly minor because usually SVGs aren't focusable, but this
adds `aria-hidden='true'` to all SVGs by default unless either an
`aria-label` or `label` is provided. This gets reported to us in
automated tests from time to time.

So now:

1. SVG: `aria-hidden="true"` (new behavior, safe default when no label
is provided)
2. SVG with `label` param: `aria-hidden="true"` and `sr-only` label is
provided
3. SVG with `aria-label` param: `aria-hidden="false"` and `aria-label`
is provided
2025-06-04 08:21:36 -04:00
..
discourse-local-dates-test.js DEV: Convert more equal assertions (#29554) 2024-11-03 21:04:38 +01:00
local-date-builder-test.js A11Y: SVG icons should be hidden unless a label is provided (#33059) 2025-06-04 08:21:36 -04:00