Add aria to icon
What does this MR do?
Automatically add aria-hidden
to icon if aria-hidden
and aria-label
are not found
This MR is part of several MRs to resolve HTML issues found by the HTML validation tool (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10571)
Are there points in the code the reviewer needs to double check?
Shouldn't be
Why was this MR needed?
Improve accessibility.
Screenshots (if relevant)
None
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary - Tests
-
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
None