textContrast

fun textContrast(textContrastRatio: Double? = null, enhancedContrastEvaluation: Boolean? = null, screenshot: Bitmap? = null): GoogleRulesBuilder

This rule checks if text has sufficient contrast against it's background.