Social Links Menu contains HTML errors (i.e. does not validate)
-
Just updated to latest version of WP and twenty seventeen. Made some changes to my child theme and decided to check the html using https://validator.w3.org. It returned several errors relating to the theme’s built-in Social Links Menu. For example:
Attribute href not allowed on element use at this point. <use?href="#icon-youtube" xlink:href="#icon-youtube"></use>
There were similar errors for all my other social media links (Facebook, G+, Twitter etc.) as well as “#icon-arrow-left” and “#icon-arrow-right” (i.e. next and previous page links).
Am I the only one getting these validation errors or is this a bug?
I did check, and the errors occur on both my child and parent theme. I included a link to a sample page but the errors occur in all of my pages, including the blog homepage, https://santa-claus-blog.emailsanta.com.
Thank you for your help and Merry Christmas!
KringleP.S. FWIW, there are also numerous warnings about the “type” not being required for the script tag:
<script type='text/javascript'
Don’t know if anyone wants to tidy up the code for that.The page I need help with: [log in to see the link]
- The topic ‘Social Links Menu contains HTML errors (i.e. does not validate)’ is closed to new replies.