Redocly / Redocly/redoc

Accessibility: The label 'Example' is not associated with the input element

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

Nobody has claimed this yet.

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

Description

Describe the problem to be solved
"The label 'Example' is not associated with the input element. In the code, the label should be linked to the input fields Museum opening hours & The museum is closed ."
See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select?retiredLocale=de

image

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

Start by reproducing the accessibility warning in the rendered API documentation and locate the controls labeled “Example,” “Museum opening hours,” and “The museum is closed.” Trace those labels and inputs to the relevant TypeScript/React entry point; done means each label is programmatically associated with its input and the warning is gone.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.