MDL-80384 courseformat: Set activity icon alt text on editing mode
commitda27f51beaf1806a42b1e28537c99b446f61a18a
authorJun Pataleta <jun@moodle.com>
Mon, 25 Mar 2024 16:03:14 +0000 (26 00:03 +0800)
committerJun Pataleta <jun@moodle.com>
Tue, 26 Mar 2024 03:01:01 +0000 (26 11:01 +0800)
treed60384657efee289597e606375bd2c9968bc2a1c
parentd983fee151ed5433f49aec790e9e5a7ae697ae99
MDL-80384 courseformat: Set activity icon alt text on editing mode

From a warning using WAVE:
* The title attribute value for images that lack an alt attribute value
will be presented to screen reader users. However, providing image
content in the alt attribute typically provides better accessibility,
and should be used in most cases. The title attribute will generate a
mouse hover tooltip which may or may not be desired - this tooltip will
not be presented to touch screen or keyboard users.
course/format/templates/local/content/cm/cmicon.mustache