question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Adding support for aria-describedby attribute

See original GitHub issue

Hi there,

We are looking to add aria-describedby attribute support in order to link help text and validation error elements to the react-select select input.

Proposing to add the following property the inputProps in Select.js

'aria-describedby': React.PropTypes.string,

Do you foresee any issues?

Thanks and Best Regards, Eric

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:3
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

8reactions
weswilkecommented, Mar 16, 2022

Any luck here? I’d like to pass through aria-describedby.

0reactions
srajeev91commented, Dec 7, 2022

I used React-Select to create a multi-select dropdown within Formik. I’m experiencing the same issue as the person in the comment above mine. I’m using Formik’s Error Message component to display errors, and therefore need to pass an aria-describedby in my react-select Select component that corresponds to the Formik Error component’s id. Would really appreciate if the aria-describeby attribute that we pass to the Select could be appended to the existing aria-describedby

Read more comments on GitHub >

github_iconTop Results From Across the Web

ARIA1: Using the aria-describedby property to provide ... - W3C
The aria-describedby property may be used to attach descriptive information to one or more elements through the use of an id reference list....
Read more >
aria-describedby - Accessibility - MDN Web Docs
The aria-describedby attribute lists the id s of the elements that describe the object. It is used to establish a relationship between ...
Read more >
Adding descriptions to elements using aria-describedby - ADG
Adding descriptions to elements using aria-describedby. ARIA provides an attribute which allows to attach other elements as descriptions to an element.
Read more >
Aria-describedby | Introduction to Accessibility - A11y-101
As with the for-id relationship we connect the input with the hint by adding aria-describedby and another ID. ChromeVox will read password, password...
Read more >
Describing aria-describedby - TPGi
One such ARIA attribute, aria-describedby , provides the means to associate an element with the text of another object, or objects, in the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found