You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A disabled RadioGroup.Option should have attribute aria-disabled=true.
Also, when disabling the whole RadioGroup, it should have the attribute aria-disabled=true.
The text was updated successfully, but these errors were encountered:
* add aria-disabled to RadioGroup Options
This will happen when:
- The RadioGroup is disabled
- The RadioGroup Option is disabled
Closes: #515
* update changelog
RobinMalfait
changed the title
[Bug]: disabled RadioGroup.Option should have attribute aria-disabled=true
Disabled RadioGroup.Option should have attribute aria-disabled=true
May 19, 2021
Hey! Thank you for your feature suggestion!
Much appreciated! 🙏
This should be fixed, and will be available in the next release.
You can already try it using npm install @headlessui/react@dev or yarn add @headlessui/react@dev.
What package within Headless UI are you using?
@headlessui/react
What version of that package are you using?
v1.2.0
What browser are you using?
Chrome
Reproduction repository
Describe your issue
A disabled RadioGroup.Option should have attribute aria-disabled=true.
Also, when disabling the whole RadioGroup, it should have the attribute aria-disabled=true.
The text was updated successfully, but these errors were encountered: