Saturday, June 17, 2017

usability - Should html links with images have both title and alt attributes?


I understand it is generally a best quality practice to have title tags for hyperlinks and alt tags for images. This is good for several reasons: additional information for low bandwidth users, additional information for assistive technologies, better display of search results from search engines, etc.


My question is when an image is a hyperlink, i.e.




Should that be done with the a title attribute





or with the img alt tag


Google/></a><br/></code></pre><br/><p>or with both</p><br/><pre><code><a href=Google

or with both having both


Google


Moved here from the qa site. closed there.




No comments:

Post a Comment

technique - How credible is wikipedia?

I understand that this question relates more to wikipedia than it does writing but... If I was going to use wikipedia for a source for a res...