Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Bug - FormSelect - Accessibility warning doesn't check `aria-labelledby`

Open Beginner friendly
#12,119 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by locating the FormSelect component and the accessibility warning that reports a missing id or aria-label. Reproduce the issue with the linked CodeSandbox, then verify that providing aria-labelledby no longer triggers the warning while the existing warning behavior remains intact.

Written by the indexing model from the issue text.

Description

A11y Stale

Describe the problem
When using FormSelect with a prop aria-labelledby that points to another label it will complain that the component requires either an ID or aria-label to be specified. Specifically:

FormSelect requires either an id or aria-label to be specified

How do you reproduce the problem?

  1. Go to https://codesandbox.io/p/sandbox/zk38dy
  2. Open console
  3. See FormSelect requires either an id or aria-label to be specified

Expected behavior
FormSelect also checks aria-labelledby before showing the warning.

Is this issue blocking you?
No


Jira Issue: PF-2918

Dominant language
TypeScript
Stars
862
Forks
392
Avg merge
4d 8h
Merged PRs (30d)
9

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.

More from patternfly/patternfly-react

All issues in patternfly/patternfly-react

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.