-
AuthorPosts
-
May 8, 2017 at 10:36 am #789386
Hi Guys,
One of our customers did a W3C HTML check on the site and that threw out a whole bunch of “errors”. Can you explain some of them?Check here:
https://validator.w3.org/nu/?showsource=yes&showoutline=yes&doc=https%3A%2F%2Fe-3.deCheers,
MaxMay 8, 2017 at 11:28 am #789422Hey Max,
Which ones you need an explanation for?
Best regards,
VictoriaMay 8, 2017 at 11:32 am #789424Hi Victoria,
There’s 388 of this one f.e.:
The itemtype attribute must not be specified on elements that do not have an itemscope attribute specified.
And 164 of this one:
Attribute datetime not allowed on element span at this point.Those would be great…
Thanks!May 8, 2017 at 12:30 pm #789494well alot of your error codes concerns to structured data – something which seems not to be regarded by that html test tool on w3c.
Long time a lot of wai aria roles aren’t regarded by w3c – so you have to read this with modern eyes!look for example on structured data test tool by goolge: https://search.google.com/structured-data/testing-tool?hl=de#url=https%3A%2F%2Fe-3.de
no errors – no warnings on your site.the other errors are some meta properties . Get familiar with those things too.
something like: “The itemtype attribute must not be specified on elements that do not have an itemscope attribute specified”
Must not be – for me sounds like could be but must not be ( so an error is harsh – a warning seems to be enough) etc.
May 8, 2017 at 1:04 pm #789528Hi,
@Guenni007 thank you :)
@mkdreirad does this kind of explanation work for you?If you need further assistance please let us know.
Best regards,
VictoriaMay 8, 2017 at 1:46 pm #789571Hi,
First of all, thank you!
The concerns are not mine anyway, but a customers. I just could not really answer them and wanted to ask.But one thing seems to be misunderstood here: must not in english is not the same as for example “muss nicht” in german, but is absolute, so it means it’s not allowed to be like that, not that it can or cannot…
But thanks again to you both!
Best regards,
MaxMay 8, 2017 at 5:41 pm #789736Hi mkdreirad,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
VictoriaMay 8, 2017 at 9:30 pm #789863yes sorry that was my misunderstanding.
I thought it was one of those Ex-Rules from strict html4 times. Like no block-level element in anchors.
Today we are at html5 – and yes now it is common use to wrap some h, p or div in one a element.
it works – and rendering is safe._________
a handmade site is unbeatable in that and performance reasons – but nevertheless i do not want to go back!
Allthough this oldschool site is responsive – html valide and css3 conform.
from that point the old times are ok Look here https://guenterweber.com/oldschool/
and gtmetrix values like this : https://gtmetrix.com/reports/guenterweber.com/XJVD4Xo5 are never seen on WP Sites
https://developers.google.com/speed/pagespeed/insights/?hl=de&url=guenterweber.com%2Foldschool%2F&tab=desktop -
AuthorPosts
- You must be logged in to reply to this topic.