Title: Error found while checking document as XHTML 1.0 Strict
Last modified: August 21, 2016

---

# Error found while checking document as XHTML 1.0 Strict

 *  Resolved [lbossi](https://wordpress.org/support/users/lbossi/)
 * (@lbossi)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/error-found-while-checking-document-as-xhtml-10-strict/)
 * Hi,
    when I check [site’s pages](https://wordpress.org/support/topic/error-found-while-checking-document-as-xhtml-10-strict/www.scuolemarchirolo.gov.it?output_format=md)
   with [W3C validator](http://validator.w3.org/check/referer), the result is 1 
   error found in the plugin’s WP ACCESSIBILITY code. I found the error in the file“
   wp-accessibility/wp-accessibility.php”. The wrong code is: script> //<![CDATA[(
   function( $ ) { ‘use strict’; $skiplinks_js $targets $lang_js $tabindex $underlines}(
   jQuery)); //]]> </script>”;
 * and it must be so
 * <script type=’text/javascript’>
    //<![CDATA[ (function( $ ) { ‘use strict’; $
   skiplinks_js $targets $lang_js $tabindex $underlines }(jQuery)); //]]> </script
   >”;
 * I’m not an expert of PHP language and I hope that my english is understandable.
   
   Thanks and greetings.
 * Luisa Bossi
 * [https://wordpress.org/plugins/wp-accessibility/](https://wordpress.org/plugins/wp-accessibility/)

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

 *  Thread Starter [lbossi](https://wordpress.org/support/users/lbossi/)
 * (@lbossi)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/error-found-while-checking-document-as-xhtml-10-strict/#post-5107691)
 * Sorry,
    my site’s URL is: [http://www.scuolemarchirolo.gov.it/](http://www.scuolemarchirolo.gov.it/)
 *  Plugin Author [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * (@joedolson)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/error-found-while-checking-document-as-xhtml-10-strict/#post-5107703)
 * Yes, WP Accessibility is not written in XHTML. The output is written in HTML5.
 * In a future version, I may make it effective for both, but it’s not something
   I’ve done yet.
 *  Thread Starter [lbossi](https://wordpress.org/support/users/lbossi/)
 * (@lbossi)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/error-found-while-checking-document-as-xhtml-10-strict/#post-5107902)
 * All italian teachers (and they are not so few), who take care of their own school’s
   site and use this plugin, thanks you.
 *  [ClaudiaCantaluppi](https://wordpress.org/support/users/claudiacantaluppi/)
 * (@claudiacantaluppi)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/error-found-while-checking-document-as-xhtml-10-strict/#post-5108036)
 * I think lbossi may be part of the same (large – transnational) network of teachers
   that I also belong to, and I think this may be related. When we try to validate
   the html of our websites we get an invalid markup error because <script> is not
   correctly written as <script type=’text/javascript’> except for one occurence.
   We usually just add it and re-upload wp-accessibility.php but it would be more
   convenient if we didn’t have to 🙂 Thanks for your attention!
    Claudia
 *  Plugin Author [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * (@joedolson)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/error-found-while-checking-document-as-xhtml-10-strict/#post-5108048)
 * Yes, I understand the issue.

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

The topic ‘Error found while checking document as XHTML 1.0 Strict’ is closed to
new replies.

 * ![](https://ps.w.org/wp-accessibility/assets/icon-256x256.png?rev=1097582)
 * [WP Accessibility](https://wordpress.org/plugins/wp-accessibility/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-accessibility/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-accessibility/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-accessibility/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-accessibility/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-accessibility/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/error-found-while-checking-document-as-xhtml-10-strict/#post-5108048)
 * Status: resolved