• This is exactly what I was looking for! Being able to add css class names is amazing! And the way just telling the url of each menu image is so smart! I personally don’t like using some uploader for static important images. (Maybe adding alt attribute in img tag would be nicer to pass w3c validation check.)

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Vigorous Hive

    (@vihv)

    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.

    Thread Starter Nora Shishi

    (@norashishi)

    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 https://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.

    Thread Starter Nora Shishi

    (@norashishi)

    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. ??

    Plugin Author Vigorous Hive

    (@vihv)

    <img alt=”sanitazed menu item title here”> added.
    Have a look at new version and thanks for feedback )

    Thread Starter Nora Shishi

    (@norashishi)

    Great update! It is now completely validated html code! Thank you! ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘AMAZING’ is closed to new replies.