audit
Perform an audit using the given rules.
Example:
val abraRules = abra.abraRules {
focusableNameCorrect()
focusableRoleCorrect()
}
val googleRules = abra.googleRules {
textSize()
touchTargetSize()
}
val rules = abraRules + googleRules
val results = abra.audit(rules)Content copied to clipboard
Return
A list containing the test results
Parameters
rules
A collection of rules.
Perform audit using the given ruleset
Return
List of results after testing with the provided ruleset
Parameters
ruleset
The ruleset to test against