Lighthouse error validation Table of Content
-
Hello,
the Table of Content causes this issue on Lighthouse and affect the Accessibility metrics
“Lists do not contain only li elements and script supporting elements (script and template)”It happens when there are some nested h3 under h2.
It seems related to the structure of ul and li: https://web.dev/list/
I don’t know if in this topic https://www.ads-software.com/support/topic/block-table-of-contents-markup-not-correct/ you are talking about the same stuff but it seems a similar situation. Looks like there is something missing on the hierarchy that Google doesn’t like.Have you found a solution on it?
Thank you.
Bye
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Lighthouse error validation Table of Content’ is closed to new replies.