Skip to content

Conversation

HedwigAR
Copy link
Contributor

Pull request type

Bug fix (non-breaking change which fixes an issue)


Description

Currently in the combobox the validation field and input field are not programatically connected. This means that while you can visually see that there's an error, someone using a screenreader might not get to hear this error. To fix this I added a aria-describedby that appears when there is validation info, and aria-invalid which is set to true when there is a validation message.

What should be covered while testing?

  • The combobox should work as it always has
  • The aria-describedby should only appear when there's a validation message
  • Aria-invalid should only be set to true when there is a validation message visible.

@HedwigAR HedwigAR requested a review from a team as a code owner September 19, 2025 11:49
@HedwigAR HedwigAR changed the title Wc 3039/fix combobox validation connection to input [WC-3039] Fix combobox validation connection to input Sep 19, 2025
@HedwigAR HedwigAR force-pushed the WC-3039/fix-combobox-validation-connection-to-input branch from e4788a9 to fe2fb32 Compare September 22, 2025 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants