Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1448821

    Running i site through HTML validator gives several errors. I found this thread from 2016, https://kriesi.at/support/topic/html-validator-found-errors/ with the same errors.
    – Element style not allowed as child of element div in this context.
    – No p element in scope but a p end tag seen.
    Is there any way these error can be avoided? When working on a site to get it up WCAG standards, I would like it to be as error free as possible. These are public sites and WCAG standards are need to have, not nice to have.

    Any ideas on when this will be addressed?

    Regards
    Nina Sæther

    #1448861

    Hey Advantage09,

    Thank you for the inquiry.

    Element style not allowed as child of element div in this context.

    This error indicates that there is an inline style inside a div element. Did you add this style manually?

    No p element in scope but a p end tag seen.

    There is an invalid < p > tag on the page. Did you add any HTML tags to the page? Please provide the site URL so that we can inspect it.

    Best regards,
    Ismael

    #1448883

    This is site I inherited, not really sure what was done but I have not added any styles manually. I have not added any HTML to the page.
    The link to the site in private content.

    #1448983

    Hi,

    Thank you for the update.

    We may need to access the site in order to properly check the issue. Please provide the login details in the private field. Did you add the avf_post_css_create_file filter in the functions.php file?

    Best regards,
    Ismael

    #1449309

    Hi
    I don’t know what avf_post_css_create_file is. If you could provide a link I will try it.
    Temporary login in private content.

    Regards
    Nina

    #1450433

    Hi,

    Thank you for the info.

    It looks like the style element is generated because of the custom footer page. It has to render the custom styles of the element inline because the post css file for the custom footer page is unavailable. Unfortunately, it’s not possible to disable this inline style at the moment. We also can’t find the paragraph element without the opening tag.

    Best regards,
    Ismael

    #1451401

    Thanks for your reply. You can close this thread.

    Regards
    Nina

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘HTML validator’ is closed to new replies.