Orange-Boosted-Bootstrap icon indicating copy to clipboard operation
Orange-Boosted-Bootstrap copied to clipboard

[OUDS] add readonly state on Checkbox/Radio/Switch components

Open MaxLardenois opened this issue 1 year ago • 2 comments

Prerequisites

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

MaxLardenois avatar Apr 04 '25 09:04 MaxLardenois

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..

Aniort avatar Apr 07 '25 08:04 Aniort

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?

MaxLardenois avatar Apr 07 '25 08:04 MaxLardenois

have been merged and demoed, will reopen if needed for documentation update

MaxLardenois avatar Jun 16 '25 13:06 MaxLardenois