Redocly / Redocly/redoc

Accessibility: Tablists do not have accessible name

Open
#2,407 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

a11y Type: Bug
Dominant language
TypeScript
Stars
25.9k
Forks
2.4k
Avg merge
13h 10m
Merged PRs (30d)
4

Description

Describe the bug

  1. Go to Redocly demo
  2. Go to "POST /pet" sample
  3. Inspect "Request samples" tablist
  4. Open Chrome DevTools accessibility tree
  5. Observe that tablist does not have accessible name (see "Screenshots").

Expected behavior
Each tablist should have an accessible name. Ideally, the tablist should be labelled by the heading above it (using aria-labelledby).

Screenshots
Screenshot of accessibility tree. The tablist has no accessible name.

Screenshot of tablist without accessible name - Elements pane
Additional context
ARIA Practices Guide - Tabs - Manual Example

Contributor guide

Open the contributing guide

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.

Research direction

Reproduce the issue in the Redocly demo by opening the POST /pet Request samples tablist, then inspect its accessibility tree in Chrome DevTools. Trace the tablist and the heading above it in the TypeScript frontend; done means each tablist has an accessible name, ideally through the heading, and the accessibility tree confirms it.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
accessibility, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.