checkContrast

suspend fun checkContrast(args: Audits.CheckContrastParameter, mode: CommandMode = CommandMode.DEFAULT)

Runs the contrast check for the target page. Found issues are reported using Audits.issueAdded event.


suspend fun checkContrast(reportAAA: Boolean? = null)

Runs the contrast check for the target page. Found issues are reported using Audits.issueAdded event.

Parameters

reportAAA

Whether to report WCAG AAA level issues. Default is false.