-
Bug
-
Resolution: Fixed
-
Minor
-
3.10.6, 3.11.2
-
MOODLE_310_STABLE, MOODLE_311_STABLE
-
MOODLE_311_STABLE
-
MDL-72412-master -
-
0
-
HQ Team International Sprint 8
Informative icon fonts (pix_icons that are rendered as icon fonts with alt text passed to them) have the aria-label attribute which is not valid without the "role="img"" attribute.
Axe DevTools reports this as a failure. For example:
Issue Description
|
Ensures ARIA attributes are allowed for an element's role
|
|
Element location
|
.text-success
|
|
Element source
|
<i class="icon fa fa-check text-success fa-fw " title="Pass" aria-label="Pass"></i>
|
|
To solve this issue, you need to...
|
Fix the following:
|
ARIA attribute cannot be used, add a role attribute or use a different element: aria-label
|
- blocks
-
MDL-71724 Upgrade axe-core to latest version
-
- Closed
-
- has been marked as being related by
-
MDL-72805 Icons in component library examples for link accessibility are missing an image role
-
- Closed
-
- Testing discovered
-
MDL-72414 Audit and fix usages of pix_icons inside interactive elements
-
- Open
-
- will be (partly) resolved by
-
MDL-73695 Backport MDL-72412 to Moodle 3.9
-
- Closed
-