• Resolved Marco Chiesi

    (@marcochiesi)


    Menu items generated by the Nested Pages plugin have the attribute rel=”page” which is not accepted by the W3C Validator.

    It triggers the following errors (one for each menu item):

    Bad value page for attribute rel on element a: The string page is not a registered keyword.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Kyle Phillips

    (@kylephillips)

    This will be fixed in the next release.

    Plugin Author Kyle Phillips

    (@kylephillips)

    This has been resolved in the latest plugin release.

    Thread Starter Marco Chiesi

    (@marcochiesi)

    Hi Kyle,
    thanks for the update. I just checked it (v1.6.2) but it seems that the problem is still present, as the string “page” is still added as rel attribute to menu items in the Nested Pages auto-generated menu.
    Moreover if I manually delete the rel “page” from the menu item, and then I go back to the Nested Pages screen, there’s a duplicate item (link, not page) with the same name of the page.

    Plugin Author Kyle Phillips

    (@kylephillips)

    That db field is required by the plugin in menu synchronization… removing it manually essentially removes it from the sync process.

    I have been unable to recreate your problem after updating (across multiple sites). The rel attribute is being removed in all of my cases.

    If you have cacheing enabled, I would try reseting that. It may also help to re-sync the nav menu.

    Thread Starter Marco Chiesi

    (@marcochiesi)

    Sorry for not being clear. I noticed that the rel page was still present in the backend so I didn’t check the frontend. I confirm that in the frontend the rel attribute no longer appears so the W3C validation issue can be considered fixed. Thank you.
    By the way, I am not sure it’s a good idea to use that field for syncing purposes. Why don’t you use term meta that were introduced in recent versions of WP? But that’s another story. Thank you for now.

    Thank your very much for that update.
    However I’m still seeing the rel=”page” links in my sites.
    Tried differnt things like:
    recreated the menu
    Hide all pages
    Hide some pages
    Rearange pages
    Rename menu

    I’m having no clue, where to look. I don’t have any caching plugin on my site enabled.
    I’m using V 1.6.5.2 of nested pages

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘W3C validation fails’ is closed to new replies.