Static meetsEvaluates if two colors have an appropriate contrast ratio for the given ContrastStandard and ContrastFontSize.
Evaluates if two colors have an appropriate contrast ratio for the given ContrastStandard and ContrastFontSize.
Evaluates if two colors have an appropriate contrast ratio for the given ContrastStandard and ContrastFontSize.
Evaluates if two colors have an appropriate contrast ratio for the given ContrastStandard and ContrastFontSize.
If no standard is provided, ContrastStandard.AA will be used.
If no font size is provided, ContrastFontSize.NORMAL will be used.
Evaluates if two colors have an appropriate contrast ratio for the given ContrastStandard and ContrastFontSize.
If no standard is provided, ContrastStandard.AA will be used.
If no font size is provided, ContrastFontSize.NORMAL will be used.
Evaluates if two colors have an appropriate contrast ratio for the given ContrastStandard and ContrastFontSize.
If no standard is provided, ContrastStandard.AA will be used.
If no font size is provided, ContrastFontSize.NORMAL will be used.
Static Private haveDo the given colors conform to guidelines for the given standard and font size?
true if the two colors have an acceptable contrast ratio
for the given ContrastStandard and ContrastFontSize,
false if they do not have an acceptable ratio.
Evaluates if two colors meet the AA or AAA contrast standard of the Web Content Accessibility Guidelines (WCAG).
To learn more about WCAG, visit https://www.w3.org/WAI/standards-guidelines/wcag/.