discourse/plugins/discourse-local-dates/test/javascripts
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
..
acceptance DEV: Move discourse-common/(utils|lib) to discourse/lib (#30733) 2025-01-13 13:02:49 +00:00
helpers DEV: Extract a test helper in local-dates (#29196) 2024-10-15 10:27:42 +02:00
integration FEATURE: add local-dates (plugin) rich editor extension (#31714) 2025-03-11 20:13:09 -03:00
lib DEV: Fix no-loose-assertions lint (#29965) 2024-11-28 11:22:27 +01:00
unit A11Y: SVG icons should be hidden unless a label is provided (#33059) 2025-06-04 08:21:36 -04:00