PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

name attribute (a anchor tag) is obsolete in html5

  1. nicomollet

    W3C validator doesn't like this html:

    <a id='gf_$form_id' name='gf_$form_id' class='gform_anchor' ></a>

    It is displayed when form is ajax or has_pages.

    W3C says: "The name attribute is obsolete. Consider putting an id attribute on the nearest container instead."

    The html could simply be replaced by:

    <a id='gf_$form_id' class='gform_anchor' ></a>

    Unfortunately, there is no filter to just strip this attribute. I could remove the anchor wih the "gform_confirmation_anchor" filter but it would cause problems to ajax forms.

    I hope you can can fix that in the next updates.
    Kind regards

    Posted 11 years ago on Tuesday August 21, 2012 | Permalink
  2. Moved to feature requests. Thank you or the suggestion.

    Posted 11 years ago on Saturday August 25, 2012 | Permalink