patternfly-react icon indicating copy to clipboard operation
patternfly-react copied to clipboard

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

Open Venefilyn opened this issue 2 months ago • 0 comments

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

Venefilyn avatar Nov 05 '25 13:11 Venefilyn