Radzen Appearance Toggle question

Is the Radzen Appearance Toggle WCAG/508 compliant or is there a way to make it compliant?

Thank you

Hi @anthonyyott,

What makes you think <RadzenAppearanceToggle> button is not WCAG compliant?

As a button it supports keyboard navigation, titles as well as some additional configurations that allow you to achieve desired color contrast:

<RadzenAppearanceToggle ButtonStyle="ButtonStyle.Info" ToggleButtonStyle="ButtonStyle.Info" Variant="Variant.Outlined" Title="Change appearance"/>

Nothing was making me think that I was just asking is all. Thank you for the quick response

1 Like

508StyleSheet
Out of curiosity I opened browser tools and it looks like the wcag version of the style sheet isn't being used. Maybe a feature request to add a property for that would be appropriate. Thank you.

Just enable Wcag in <RadzenTheme>

<RadzenTheme Theme="material3" Wcag="true" ... />

You can also use ThemeService to allow the end user enable/disable WCAG colors.