In the SiteOrigin Image widget the mouseover on the Image(file) always displays the “”Title text””.
This happens even if the “”Alt text”” has been added to the form.
This really needs to be fixed.
Please check on: https://evfestival.com.au
Thanks.
Eric
Hi Eric
Thanks for reaching out.
The behavior you’ve described is as expected. Browsers use the title attribute text to display a tooltip on hover.
More on the
title
attribute below:https://www.w3schools.com/tags/att_title.asp
The
alt
attribute, unfortunately, isn’t used for default browser tooltips and doesn’t alter the behavior of thetitle
attribute when added:https://www.w3schools.com/tags/att_img_alt.asp
Thanks Andrew, That makes good sense. I have learnt something here…
Hi Andrew,
I now understand that, but if the Alt attribute does nothing, why is it included as “Alt text” in the SiteOrigin Image widget options ?
Eric
Hi Eric
Thanks for the update.
A quick definition for the alt attribute from W3Schools is below:
—
The required alt attribute specifies an alternate text for an image if the image cannot be displayed.
The alt attribute provides alternative information for an image if a user for some reason cannot view it (because of a slow connection, an error in the src attribute, or if the user uses a screen reader).
—
Put another way; it’s an accessibility attribute. For example, users with blindness or vision impairment would get information from the alt attribute from their screen reader.
Thanks Andrew.
Eric
If any queries or requests arise in the future, please, let us know.
Cheers for now.
Andrew