Skip to content

Use the correct semantics: nav #1429

@cyberbaloo

Description

@cyberbaloo

Bug Report

It's preferable to use the <nav> element instead of <div> to improve both semantics and accessibility. This element clearly indicates to assistive technologies that it is a main navigation area. It also improves the HTML code structure and adheres to web standards.

Expected behavior/code
<div data-testid="left-panel-desktop" class="sc-34780e96-0 krwZki --docs--left-panel-desktop">
(code)
</div>

Possible Solution
Search for this code snippet, replace div with nav

Additional context/Screenshots

Image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions