Skip to content

fix: invalid child elements in mobile navigation#7526

Open
AbhiSahane0 wants to merge 1 commit intolayer5io:masterfrom
AbhiSahane0:fix-Mobile-navigation-menu-contains-invalid-nesting
Open

fix: invalid child elements in mobile navigation#7526
AbhiSahane0 wants to merge 1 commit intolayer5io:masterfrom
AbhiSahane0:fix-Mobile-navigation-menu-contains-invalid-nesting

Conversation

@AbhiSahane0
Copy link

Description

The mobile navigation menu contains invalid nesting that violates HTML5 specifications. An unordered list (<ul>) can only contain <li>, <script>, or elements as direct children.

There are multiple <a> tags placed as direct children of the <ul> tags rather than being wrapped inside an <li>.

This PR fixes #7484

Notes for Reviewers
Please review the changes

Signed commits

  • Yes, I signed my commits.

Signed-off-by: Abhi <cloudabhi123@gmail.com>
@l5io
Copy link
Member

l5io commented Mar 19, 2026

🚀 Preview for commit 7d62fb3 at: https://69bb6a2ba122f1a972e9f1f3--layer5.netlify.app

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

Successfully merging this pull request may close these issues.

Mobile navigation menu contains invalid nesting

2 participants