-
Bug
-
Resolution: Fixed
-
Minor
-
4.0.7
-
MOODLE_400_STABLE
-
MOODLE_400_STABLE, MOODLE_401_STABLE
-
MDL-77764-401 -
- Log in as admin
- Navigate to Content bank from home page
- Inspect the select element for changing context with your browser
- Confirm it is labelled "Choose course or category..."
When using the content bank, the select form element for switching the current context is missing a label - this also comes up as a problem when using Axe devTools:
Issue Description
|
|
Ensures select element has an accessible name
|
Element Location
|
|
#single_select6421b83f8787610
|
|
Element Source
|
|
<select id="single_select6421b83f8787610" class="custom-select singleselect" name="contextid" data-init-value="1" data-initial-value="1">
|
|
To solve this problem, you need to...
|
Fix at least (1) of the following:
|
|
Form element does not have an implicit (wrapped) <label>
|
Form element does not have an explicit <label>
|
aria-label attribute does not exist or is empty
|
aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
|
Element has no title attribute
|
Element's default semantics were not overridden with role="none" or role="presentation"
|
This is an accessibility issue, just like MDL-77761
- Discovered while testing
-
MDL-77666 Content bank shows unformatted category names for selection
- Closed