Title: W3C Validator errors
Last modified: December 4, 2016

---

# W3C Validator errors

 *  Resolved [Henry Wright](https://wordpress.org/support/users/henrywright/)
 * (@henrywright)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/w3c-validator-errors-5/)
 * If I use `[wppa][/wppa]` in a page and then run that page through the [W3C Validator](https://validator.w3.org),
   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](https://wordpress.org/support/users/opajaap/)
 * (@opajaap)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/w3c-validator-errors-5/#post-8514191)
 * 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](https://wordpress.org/support/users/opajaap/)
 * (@opajaap)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/w3c-validator-errors-5/#post-8515071)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-photo-album-plus.svg)
 * [WP Photo Album Plus](https://wordpress.org/plugins/wp-photo-album-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-photo-album-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-photo-album-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-photo-album-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-photo-album-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-photo-album-plus/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Jacob N. Breetvelt](https://wordpress.org/support/users/opajaap/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/w3c-validator-errors-5/#post-8515071)
 * Status: resolved