Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML validator returns warning for some sections #188

Open
sushidave opened this issue Jul 22, 2022 · 0 comments
Open

HTML validator returns warning for some sections #188

sushidave opened this issue Jul 22, 2022 · 0 comments

Comments

@sushidave
Copy link

Hey, thanks for this cool theme.

I noticed that the Nu HTML Checker by W3C returns a warning for sections of the Quark theme.

Examples:

Warning: Section lacks heading. Consider using h2-h6 elements to [add identifying headings to all sections](https://www.w3.org/wiki/HTML/Usage/Headings/Missing), or else use a div element instead for any cases where no heading is needed.
From line 45, column 21; to line 45, column 57
          <section class="navbar-section logo">↩
Warning: Section lacks heading. Consider using h2-h6 elements to [add identifying headings to all sections](https://www.w3.org/wiki/HTML/Usage/Headings/Missing), or else use a div element instead for any cases where no heading is needed.
From line 49, column 21; to line 49, column 65
          <section class="navbar-section desktop-menu">↩↩
Warning: Section lacks heading. Consider using h2-h6 elements to [add identifying headings to all sections](https://www.w3.org/wiki/HTML/Usage/Headings/Missing), or else use a div element instead for any cases where no heading is needed.
From line 43, column 13; to line 43, column 47
          <section class="container grid-lg">↩

It links to a document of Mozilla for further info which refers to the specifications for section elements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant