JedWatson / JedWatson/react-select

Adding support for aria-describedby attribute

Open
#1,570 11 comments 9 reactions 0 assignees View on GitHub

@bladey is already working on this.

Since Jun 11, 2020.

  • #4082 by @bladey — open
category/accessibility issue/has-pr issue/reviewed
Dominant language
TypeScript
Stars
28k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

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

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 in Select.js and inspect how inputProps are defined and passed to the select input. Review the linked pull request #4082 before making changes; done means help text and validation error elements can be linked through aria-describedby.

Written by the indexing model from the issue text.

Assessment

Tech stack
react
Domain
accessibility, frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.