Skip to content

Structure of the <nav> #879

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

Open
cyberbaloo opened this issue Apr 15, 2025 · 0 comments
Open

Structure of the <nav> #879

cyberbaloo opened this issue Apr 15, 2025 · 0 comments

Comments

@cyberbaloo
Copy link

Problematic behavior
The left column looks like a navigation, the items in this column should be in a <nav> element

The buttons in the left column should be structured in a <ul><li> list to allow screen reader users to know the number of elements present in the navigation.

Possible Solution

  • Add a role="navigation" to the element <nav>
  • Add a list <ul><li>

Example :

<ul>
<li><button>Tous les documents</button></li>
<li><button>Mes documents</button></li>
<li><button>Partagés avec moi</button></li>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants