-
Bug
-
Resolution: Fixed
-
Minor
-
4.3
-
1
-
HQ 2024 Sprint I1.3 Moppies
Link to the original post: https://moodle.org/mod/forum/discuss.php?d=453377
Post text:
Looking at the code in moodle 4.3 the link to a resource/activity is now output twice.
Once on the icon, and then on the text link.
As a screen reader user, this means the link is announced twice and displayed twice in the links menu, as there are now 2 anchor tags to the same item in the HTML.
Bootstrap has the stretched-link class, which was used appropriately in previous versions of Moodle, without having to output one link for the icon and another for the actual text link.
More information:
The stretched link cannot be used anymore because it will cover the advanced controls like the visibility or the group mode badges (added in 4.3). This is why the activity icon has a link on its own.
However, the icon link should be ignored by screen readers because it is redundant.
- has been marked as being related by
-
MDL-80954 Make the activity card clickable
- Open
- is a regression caused by
-
MDL-78199 Improve activity card styling including rounded corners, background colour, less padding, activity name tooltip for teachers
- Closed
- is duplicated by
-
MDL-80534 Course activity links and icons accessibility regression bug in 4.3
- Closed