Site logo

Archived topic

Warnings on validate HTML

5 replies · Started by Gilles on October 14, 2019

Viewing posts 1–6 of 6

Hello,
I am checking the coding of a page of my site (https://www.un-jardin-bio.com/les-insectes-fuient-la-tanaisie/), with the google extension Validate HTML and I see several warnings apparently related to the mobile menu:
- Warning: unescaped & or unknown entity "& subject"
- Warning: <svg> attribute "width" has invalid value "32px"
- Warning: trimming empty <span>
See here : https://i.imgur.com/AWPDuHa.jpg
Thanks for watching this
Regards
Gilles

Hi there,

I just ran your site through the official tool and I'm not able to find those errors: https://validator.w3.org/

There are definitely some things to clean up, but I'm not seeing anything specific to the theme.

Let me know if you need more info :)

Hello
Thank you for your reply.
You say that https://validator.w3.org is the official site ... ok ... but the results are wrong for a French site (especially because of single quotes - and most of the errors that you see are related to that ...). I prefer to use other validation tools.
And, even if the site https://validator.w3.org does not present the error that I show you ... it exists.
Regards,
Gilles

Warning: unescaped & or unknown entity “& subject”

I'm not sure what this one means, and can't find anything if I research the error. Are you using & subject anywhere on your site?

Warning: <svg> attribute “width” has invalid value “32px”

This is coming from your shariff-buttons plugin.

Warning: trimming empty <span>

Haven't seen this one before - where is the empty span?

I don't think I use any &subject on my site... but perhaps with an SEO plugin ? I will see it.
Ok for shariff, I will see it with them.
I don't know where is the empty span... but I understand since my last message, that the php code is not considered as a content by the validator ... finally, I think that this is therefore a problem of the validator itself, not of your theme
Best regards,
Gilles

Cool - hopefully you're able to get them all sorted.

Let me know if you have any other questions :)

This archived topic is closed to new replies.