web-widgets
web-widgets copied to clipboard
fix: accessibility issue with slider ariaLabelledBy
Pull request type
Bug fix (non-breaking change which fixes an issue)
Description
- Team discovered an accessibility issue with slider. Slider handle is not linked to the label
- Added the missing aria-labelledby using the id provided
- Updated the snapshots
What should be covered while testing?
- You should see aria-labelledby with the same value as id of associated label component.
- Test cases should be passing.
- Turn on Screen reader and navigate to handle on any slider. It should announce the label text.