[AXE] Homepage hero tabs — invalid ARIA structure

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

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
75/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript

Research direction

Start at the homepage hero tab implementation and reproduce the reported axe violations. Check the tablist children and the decorative “Websites” span; done means only tabs remain in the tablist, the indicator is presentational, and the span no longer has a prohibited label or has a real role.

Written by the indexing model from the issue text.

Description

enhancement

What
div[role="tablist"][aria-label="Hero feature previews"] contains a non-tab child, and a decorative span[aria-label="Websites"] carries a prohibited label (aria-prohibited-attr).

Where
Home strapi.io.

Impact
Assistive tech may mis-count or skip the hero tabs; the labelled span exposes a name a generic element shouldn’t have.

Fix
Keep only role="tab" children in the tablist (mark the indicator role="presentation"); drop aria-label from the span or give it a real role.

Image
Dominant language
TypeScript
Stars
6
Forks
5
Avg merge
8d 19h
Merged PRs (30d)
7

Contributor guide

No contributing guide indexed for this repository

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 strapi/website

All issues in strapi/website

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.