W3C HTML Validation
-
Hi are there any plans to make this plugin generate valid W3C HTML5?
This is an example https://validator.w3.org/nu/?doc=https%3A%2F%2Fcoffee.oceanwp.org%2Feleven-steps-to-a-better-cup-of-coffee%2F
in the file /ocean-social-sharing/template/social-share.php you are using the wrong function. Instead of html_entity_decode() perhaps you could use htmlspecialchars or htmlentities with the right flags for security or directly use urlencode because it is supposed to be a url after all.
In the case of linkedin you will have to use 2 times the urlencode the 2nd is at
summary=
For the issue of aria-labelledby please read this https://stackoverflow.com/questions/39831658/how-to-fix-the-aria-labelledby-attribute-must-point-to-an-element-in-the-same-d and this https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-labelledby_attribute
You either need an id for what’s inside the aria-labelledby or remove the aria-labelledby. For example you need an id=”oss-googleplus-icon”
I hope that helps,
- The topic ‘W3C HTML Validation’ is closed to new replies.