Accessibility: document tabs — div children in ul (axe list), Versions tab label does not contain its text (label-content-name-mismatch)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 74/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- nextjs, react, typescript
- Domain
- accessibility, frontend
Research direction
Search @payloadcms/ui for the doc-tabs__tabs class name to find the tab strip component, then look at how each tab is rendered: the container is a ul but children are div, and the Versions tab gets an aria-label that omits the count it displays. Confirm the current markup by opening a document edit screen in the admin and inspecting the tab strip, or by running the existing Playwright/axe setup. Done looks like li children (or dropped list semantics) plus an accessible name that starts with the visible text, with no new axe list or label-content-name-mismatch violations.
Written by the indexing model from the issue text.
Description
Payload version: 3.91.0 (@payloadcms/ui, @payloadcms/next, @payloadcms/richtext-lexical 3.91.0), Next.js 16.4.2, @payloadcms/db-postgres. The same component code is unchanged in the published 3.94.1 packages (checked by inspecting dist, not by running 3.94.1).
How found: axe-core via @axe-core/playwright (default rules), on the admin with seeded content, signed in as an admin, 1600×900.
Rules: list (serious), label-content-name-mismatch (serious). WCAG 2.2 SC 1.3.1 and 2.5.3.
On every document edit screen, the Edit / Versions / API tab strip:
<ul class="doc-tabs__tabs">containsdivelements directly instead ofli, so assistive technology reports a broken list.- The Versions tab is
<a ... aria-label="Versions" class="btn doc-tab ...">while its visible text includes the version count. The accessible name does not contain the visible text, so a voice-control user saying what they see (e.g. "click Versions 3") may not match.
Steps: open any document in a collection with versions; run axe, or inspect .doc-tabs__tabs.
Expected: li children (or no list semantics), and the Versions tab's accessible name starting with its visible text (or no aria-label overriding it).
- Dominant language
- TypeScript
- Stars
- 45.8k
- Forks
- 4.4k
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 210
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from payloadcms/payload
-
area: ui Bug Payload OSS
Difficulty 1/5 Under an hour Newbie friendliness 88/100
payloadcms/payload#19839 ·
Maintainers usually reply within 1 day
-
Accessibility: list row and select-all checkboxes still unnamed in 3.x (#17376 fix not in 3.91)OpenBug Payload OSS
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
payloadcms/payload#19837 ·
Maintainers usually reply within 1 day
-
Bug Payload OSS
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
payloadcms/payload#19835 ·
Maintainers usually reply within 1 day
-
Bug Payload OSS
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
payloadcms/payload#19833 ·
Maintainers usually reply within 1 day
-
db-d1-sqlite: upsert is aliased to updateOne, so payload.kv.set never inserts new keysPossibly taken @pcbeingused333 claimed this 3 days ago. OpenBug db: d1-sqlite Payload OSS
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
payloadcms/payload#19766 ·
Maintainers usually reply within 1 day
All issues in payloadcms/payload
Similar issues
-
Add: GTrekkerOpencheck:passed streams:add
Difficulty 1/5 Under an hour Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
external
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ClickHouse/ClickStack#3761 ·
Maintainers usually reply within 1 day
-
fix(auth): add the email OTP verification step to Pollar loginPossibly taken @akansnoro claimed this today. OpenStellar Wave
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
safetrustcr/dApp-SafeTrust#584 · 10 comments ·
Maintainers usually reply within 1 day
-
The manager preset saves launch definitions without the required file and digest pairPossibly taken A pull request linked to this issue is open or already merged. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
Maintainers usually reply within 1 day