Main navigation aria-label is redundant

Open Beginner friendly
#481 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
76/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
javascript
Domain
accessibility

Research direction

Inspect the main nav element on a page such as the example URL and locate where its aria-label is set. Change the label to a descriptive name such as “Main navigation”; verify that screen readers announce a meaningful name instead of repeating “navigation.”

Written by the indexing model from the issue text.

Description

01 type: bug 99 tag: UX Accessibility

Description

The main navigation <nav> has aria-label="navigation". Since the element already has the implicit navigation role, the label just repeats the role name instead of describing the navigation. Screen readers announce something like "navigation, navigation" instead of a meaningful name.

Steps to reproduce

  1. Open any page, e.g. https://aurora.demo.plone.org/
  2. Inspect the main <nav> element: aria-label="navigation"

Expected behavior

The main navigation should have a descriptive aria-label, e.g. aria-label="Main navigation".

Dominant language
JavaScript
Stars
10
Forks
9
Avg merge
4d 7h
Merged PRs (30d)
54

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from plone/aurora

All issues in plone/aurora

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.