class AccessibilityChecks


A class to enable automated accessibility checks in Espresso tests. These checks will run as a global ViewAssertion, and cover a variety of accessibility issues (see LATEST to see which checks are run).

Summary

Public functions

java-static ViewAssertion!
java-static AccessibilityValidator!

Enables accessibility checking as a global ViewAssertion in ViewActions.

Public functions

accessibilityAssertion

java-static fun accessibilityAssertion(): ViewAssertion!
Returns
ViewAssertion!

the backing ViewAssertion that can be used to explicitly check accessibility

enable

java-static fun enable(): AccessibilityValidator!

Enables accessibility checking as a global ViewAssertion in ViewActions.

Returns
AccessibilityValidator!

the backing AccessibilityValidator, on which options for check execution can be set