WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] html5 validity (5 posts)

  1. Peter Massey-Plantinga
    Member
    Posted 1 year ago #

    The subscriptions.php file spits out a widget that is invalid in w3c html5.

    The following simple changes on line 584-585 would fix them:

    <a name="subscribe-blog"></a> is obsolete, the id attribute on the next line does the same thing in every modern browser. It can just be removed.

    <form action="" ... empty actions are not allowed in html5, so changing the action to "." which is valid in both html4 and html5 would fix it.

    Thanks for your consideration.

    http://wordpress.org/extend/plugins/jetpack/

  2. designsimply
    Member
    Plugin Contributor

    Posted 1 year ago #

    Thanks for the report. I've submitted a patch to fix those things.

  3. Peter Massey-Plantinga
    Member
    Posted 1 year ago #

    Thanks so much!

  4. designsimply
    Member
    Plugin Contributor

    Posted 1 year ago #

    The Jetpack developers put that update through. You will start to see it working in Jetpack 2.0.1 as soon as it is released.

    Here is the related changeset:
    http://plugins.trac.wordpress.org/changeset/627135

  5. Peter Massey-Plantinga
    Member
    Posted 1 year ago #

    Appreciated. Unfortunately, it seems as though instead of removing the <a name=...> that I was referring to, the developers have changed the "name" to "id" on this element, which creates a different problem: there is now a duplicate id. The form which immediately follows this anchor has the same id. I suppose the easiest fix would just be to remove the id on either tag.

    Thanks for your help.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic