Is WCAG AA Compliant

Pure
IsWCAGAACompliant

Checks if a text/background color pair meets WCAG AA accessibility standards (4.5:1 for normal, 3:1 for large).

Type: Pure (no side effects)
Category: Fortuna|Color & Visual
Keywords: color & visual

Inputs

NameTypeDefaultDescription
TextColorFLinearColorTextColor parameter
BackgroundColorFLinearColorBackgroundColor parameter
bLargeTextboolfalsebLargeText parameter

Outputs

NameTypeDescription
ReturnValueboolReturnValue output

Example Use Cases

Example 1

Validate all UI text meets accessibility requirements.

Example 2

Auto-select white or black text for any background.