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

[Feature] Eliminate W3 Validation Error for <div> is not allowed child element of <label> #405

Open
jessecowens opened this issue Jun 14, 2021 · 0 comments
Labels
Feature Request Feature Request optimization Issues that increase performance

Comments

@jessecowens
Copy link
Member

jessecowens commented Jun 14, 2021

Is your feature request related to a problem? Please describe.
The W3 HTML5 validator at https://validator.w3.org/nu/ throws an error for the element ...
<div id="main-menu-hamburger" class="hamburger hamburger--collapse ">
...that a Div is not a valid child element of a label.

Describe the solution you'd like
Convert the hamburger menu toggle to a <span>, which is a valid child element of a label.

Additional context
This issue was reported on the WordPress.org Forums.

@jamesros161 jamesros161 added optimization Issues that increase performance Feature Request Feature Request labels Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Feature Request optimization Issues that increase performance
Projects
None yet
Development

No branches or pull requests

2 participants