[OUDS] add readonly state on Checkbox/Radio/Switch components
Prerequisites
- [x] I have searched for duplicate or closed feature requests
- [x] I have read the contributing guidelines
Proposal
Add the Readonly state on Checkbox, Radio button and Switch as specified in the Figma
Motivation and context
This state was not implemented as it necessitated some work on a11y side
hello, we should be precise that disabled components (radio, check, switch must be used for non-informative elements where the user doesn't need them and their status (disabled) to complete the task. And read-only elements should be the ones that convey information, because they and their status are essential to understanding the page and the task to be accomplished..
hello, we should be precise that disabled components (radio, check, switch must be used for non-informative elements where the user doesn't need them and their status (disabled) to complete the task. And read-only elements should be the ones that convey information, because they and their status are essential to understanding the page and the task to be accomplished..
Agreed, but I think this should mainly be in the guidelines for these components, we could still have a note on this in OUDS Web documentation. What do you think @MaximeTonnerre?
have been merged and demoed, will reopen if needed for documentation update