• Resolved Henry Wright

    (@henrywright)


    If I use [wppa][/wppa] in a page and then run that page through the W3C Validator, I get errors.

    • No space between attributes.
    • Attribute ontouchstart not allowed on element div at this point.
    • Attribute ontouchend not allowed on element div at this point.
    • An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.
    • Attribute ontouchstart not allowed on element div at this point.
    • Attribute ontouchend not allowed on element div at this point.
    • An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.

    The W3C Validator should provide line numbers if you run the tool at your end.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    The code is checked against the w3c validator on a regular basis and is corrected where appropriate.
    However, i will not remove touch events or capture attributes just because w3c does not recognise these attributes as valid html while they work on all mobile devices.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Nevertheless… i am in the process to convert touchevents from attributes to jQuery().attr(), so eventually these w3c errors will also be fixed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘W3C Validator errors’ is closed to new replies.