Editing Code via recommendations from W3C Validation

  • Author
    Posts
  • #74805

    diamondrcreative
    Power User

    I am getting 4 html errors and 6 CSS errors and 40+ warnings from W3C Markup validation service

    I was wondering if I could edit/update the theme html/CSS to comply without reeking any ire or issues with the theme. I would like to remove the errors at a minimum. They are:

    HTML Errors
    #1 Error
    Error: CSS: word-break: break-word is not a word-break value.
    From line 77, column 2831; to line 77, column 2840
    ord-break:break-word;overf

    #2 Error
    Error: CSS: word-break: break-word is not a word-break value.
    From line 77, column 19465; to line 77, column 19474
    ord-break:break-word;grid-

    #3 Error
    Error: CSS: transform: blur(0) is not a transform value.
    At line 77, column 90260
    ale(1,1) blur(0);-webkit-trans

    #4 Error
    1507 word-wrap: break-word;
    Error: Element style not allowed as child of element body in this context. (Suppressing further errors from this subtree.)
    From line 83, column 14; to line 83, column 36
    </script> <style type=”text/css”>/* cry
    Contexts in which element style may be used:
    Where metadata content is expected.
    In a noscript element that is a child of a head element.
    Content model for element body:
    Flow content.

    CSS Errors

    URI : https://taylorlassen.com/
    1 – .wp-block-column break-word is not a word-break value : break-word
    2 – .wp-block-media-text .wp-block-media-text__content break-word is not a word-break value : break-word
    3 – body Property text-rendering doesn’t exist : optimizeLegibility
    4 – article.hentry blur(0) is not a transform value : translateY(0) scale(1,1) blur(0)
    5 – .seriousslider-caption Property pointer-events doesn’t exist : none
    6 – .seriousslider-caption > * Property pointer-events doesn’t exist : auto

    Of course we would all like error free code but realize that not all things are equal or necessary. I was wondering if you will be updating the theme to comply or would any of the edits I can make break the theme.

    Understand this is not a simple thing and would like your advice. Thanks! Andy

    Website: taylorlassen.com

Viewing 1 post (of 1 total)

You need to log in to reply to this topic.