Nora, will menu item title be good as alt tag for menu icon? I can create separate field for this, but it looks like duplication of the same data for me.
I feel the same but unfortunately we can’t avoid alt attribute for img tag cos that’s HTML rule. If you check your web site on http://validator.w3.org/ they will advice you, your web site will get minus score, not nice for SEO. It’s just to make w3c and big search engines such as Google satisfied, ridiculous but important.
And I personally use alt and title like that for reference.
English mode (?lang=en):
<a href="home" title="Home"><im src="images/logo.gif" alt="logo" /></a>
Japanese mode (?lang=ja):
<a href="home" title="ホーム"><im src="images/logo.gif" alt="logo" /></a>
To make alt attribute describes the image itself and mention what’s in the link with title attributes in each language. In my opinion img tag shouldn’t know if he is in anchor tag or not. He can only tell who he is as loosely-coupled coding. 🙂
<img alt=”sanitazed menu item title here”> added.
Have a look at new version and thanks for feedback )
Great update! It is now completely validated html code! Thank you! 😀