Closed gjb2048 closed 6 years ago
Solve with setting where the user can enter text.
Hi Gareth, I realized of missing attribute because of http://wave.webaim.org/ report. I agree with you that shortname is not descriptive. Probably "Site logo" fixed string is enough, and a specific setting is complete and definitive solution. Thank you very much for your awesome work.
Juan
Ok started to do this, then read "The text should explain where the link goes if the image is inside an element" on https://www.w3schools.com/tags/att_img_alt.asp - therefore! The link already has the description.
Therefore just need:
alt="'.get_string('home').'"
instead of a setting!
Please advise.
Thank you, Gareth.
Ref: https://github.com/gjb2048/moodle-theme_essential/pull/852