Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.6, 3.7
-
Fix Version/s: 3.6.4
-
Component/s: Accessibility, Blocks
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_36_STABLE, MOODLE_37_STABLE
-
Fixed Branches:MOODLE_36_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-65005-master -
Pull Master Diff URL:
Description
There are some accessibility issues for the menus on Timeline block. Quoting Damyon Wiese from MDL-64746:
Looking at the dropdown in this issue, the button does not have any aria-label - but in the the content of the button there is some screen reader only text that contains the label.
This is not great because the screen reader will merge this text with the selected item and use that for the label for the entire button. The result is a button which is labelled as "Sort timeline items Sort by courses" which is mixing the both the action of the button with the current value and is not really clear.
If this button has an aria label "Sort timeline items" it would be better.
Other accessibility problems include:
- role attribute not defined for the menu items.
- aria-controls not defined on the menu trigger.