mirror of
https://github.com/moodle/moodle.git
synced 2025-02-12 03:26:34 +01:00
- If an element is being hidden visually with `display: none;` (e.g. by using the class `.d-none`), there's no need to set `aria-hidden` because it is already hidden from the accessibility tree. - Setting `aria-hidden=false` is also not recommended and it's better to remove the `aria-hidden` attribute instead of setting it to false.