Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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.de

    Cheers,
    Max

    #789422

    Hey Max,

    Which ones you need an explanation for?

    Best regards,
    Victoria

    #789424

    Hi 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!

    #789494

    well 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.

    #789528

    Hi,


    @Guenni007
    thank you :)


    @mkdreirad
    does this kind of explanation work for you?

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #789571

    Hi,
    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,
    Max

    #789736

    Hi mkdreirad,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #789863

    yes 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

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.