Is WCAG AA Compliant
PureIsWCAGAACompliantChecks 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
| Name | Type | Default | Description |
|---|---|---|---|
| TextColor | FLinearColor | — | TextColor parameter |
| BackgroundColor | FLinearColor | — | BackgroundColor parameter |
| bLargeText | bool | false | bLargeText parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | bool | ReturnValue output |
Example Use Cases
Example 1
Validate all UI text meets accessibility requirements.
Example 2
Auto-select white or black text for any background.