discourse/plugins/discourse-local-dates
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
..
assets FEATURE: allow customizing default timezone for email. (#32964) 2025-05-29 14:17:37 +10:00
config Update translations (#33052) 2025-06-03 17:37:13 +02:00
db/migrate FEATURE: allow customizing default timezone for email. (#32964) 2025-05-29 14:17:37 +10:00
lib/discourse_local_dates DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
spec FEATURE: allow customizing default timezone for email. (#32964) 2025-05-29 14:17:37 +10:00
test/javascripts A11Y: SVG icons should be hidden unless a label is provided (#33059) 2025-06-04 08:21:36 -04:00
plugin.rb DEV: Bump rubocop_discourse (#29608) 2024-11-06 06:27:49 +08:00