-
Bug
-
Resolution: Fixed
-
Minor
-
3.7.4, 3.8, 3.9
-
MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
-
MOODLE_37_STABLE, MOODLE_38_STABLE
-
MDL-67865-master -
-
0
-
International 3.9 - Sprint 5, International 3.9 - Sprint 6
Issue
Broken ARIA references
An aria-labelledby or aria-describedby reference exists in the User drop down, but the target for the reference does not exist.
Fig. 0.03
Impact on users
ARIA labels and descriptions will not be presented if the element referenced does not exist in the page
Guidelines affected
- 1.3.1 Info and Relationships (A)
- Information, structure, and relationships conveyed through presentation can be programmatically determined or are available in text.
- 4.1.2 Name, Role, Value (A)
- For all user interface components (including but not limited to: form elements, links and components generated by scripts), the name and role can be programmatically determined; states, properties, and values that can be set by the user can be programmatically set; and notification of changes to these items is available to user agents, including assistive technologies.
Recommendation
Ensure the element referenced in the aria-labelledby or aria-describedby attribute value is present within the page and presents a proper label or description.
More info
From axe tool.
Issue description
Ensures all ARIA attributes have valid values
Element location
#action-menu-1-menu
|
Element source
<div class="dropdown-menu dropdown-menu-right menu align-tr-br show" id="action-menu-1-menu" data-rel="menu-content" aria-labelledby="action-menu-toggle-1" role="menu" data-align="tr-br">
|
To solve this violation, you need to:
Fix the following:
Invalid ARIA attribute value: aria-labelledby="action-menu-toggle-1"
|