WordPress.org

Ready to get started?Download WordPress

Forums

Vihv Menu
AMAZING (6 posts)

5 stars
  1. Nora Shishi
    Member
    Posted 1 year ago #

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

  2. Vigorous Hive
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. Nora Shishi
    Member
    Posted 1 year ago #

    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.

  4. Nora Shishi
    Member
    Posted 1 year ago #

    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. :)

  5. Vigorous Hive
    Member
    Plugin Author

    Posted 1 year ago #

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

  6. Nora Shishi
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.