Open marcin-siekaniec opened 3 weeks ago
Perhaps that could be answered in another way. Maybe these components (and probably more to come) could have something like a variant (of correctness) wrapper, that could be surrounding it? Then it would be prepared and consistent with other elements that might need this highlight (like text/ selected image and so on).
@marcin-siekaniec Thanks for filing this issue. At the moment the SLDS does not support your specific usecase. I can see there being a (companion?) library though that "extends" the SLDS components to provide this functionality. But i'm not sure what the "official" position is on that. We will let you know when we do.
Discuss with architects what the plan is with EFC.
Provide a general summary of the feature here
Currently checkbox and radio button, when switched to variant Valid or Invalid, they only change the color or a marker, which isn't compliant with wcag. We need another visual marker for this.
๐ค Expected Behavior?
Additional icon is present in the checkbox and radio-button component, marking that the answer was correct or incorrect.
๐ฏ Current Behavior
Currently it's only the color of radio or checkbox change;
๐ Possible Solution
Please see the example screen
๐ฆ Context
This is particuarly important for tests or review of answers. The student need the information about what they selected, but also if that was a good or bad choice.
๐ป Examples
๐งข Your Product/Team
TEAS