Tagged: html validator
-
AuthorPosts
-
June 10, 2024 at 11:11 pm #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ætherJune 11, 2024 at 5:01 am #1448861Hey 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,
IsmaelJune 11, 2024 at 11:36 am #1448883This 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.June 12, 2024 at 10:25 am #1448983Hi,
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,
IsmaelJune 13, 2024 at 10:08 am #1449309Hi
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
NinaJune 14, 2024 at 1:28 pm #1450433Hi,
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,
IsmaelJune 16, 2024 at 10:04 pm #1451401Thanks for your reply. You can close this thread.
Regards
Nina -
AuthorPosts
- The topic ‘HTML validator’ is closed to new replies.