Skip to content

Why InputGroup automatically set the aria-describedby to a "form-control" child? #5954

Answered by thatblindgeye
dgdavid asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @dgdavid , thanks for bringing this up!

After discussing this with some on the team, what you've mentioned in your original post makes sense and is accurate. Ideally what we'd want to do is:

  • Remove the automated application of the aria-describedby attribute, and have it simply be something passed by the consumer when applicable like most/all of our other components
  • Possibly provide an example showcasing when an aria-describedby would make sense

We concluded that this is more of a bug fix than breaking change, so I'll create an issue from this discussion, thanks again for bringing this to our attention!

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dgdavid
Comment options

Answer selected by dgdavid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants