Problems with W3 validation for XHTML
-
Hello,
can you please help me with clearing errors for W3 validation.
After putting your code:
function pb_the_content_shortcode_fix($content) {
$array = array(
‘<p>[‘ => ‘[‘,
‘]</p>’ => ‘]’,
‘]
‘ => ‘]’,
‘]
‘ => ‘]’
);return strtr($content, $array);
}
add_filter(‘the_content’, ‘pb_the_content_shortcode_fix’);I still have these errors:
there is no attribute “role” on
…arter ezcol-last”><div id=”accordion-1″ class=”accordion no-js” role=”tablist”>there is no attribute “aria-controls”
…rdion-title” role=”tab” aria-controls=”accordion-1-c1″ aria-selected=”false”there is no attribute “aria-selected”
…ntrols=”accordion-1-c1″ aria-selected=”false” aria-expanded=”false”>and so on.
Thank you in advance.
- The topic ‘Problems with W3 validation for XHTML’ is closed to new replies.