A11yScanner

class A11yScanner(rules: List<A11yRule>)

Orchestrates a single accessibility scan.

Parameters

rules

The rules to run. Build from com.composea11yscanner.rules.ScannerRules.buildRules or supply a custom list.

Constructors

Link copied to clipboard
constructor(rules: List<A11yRule>)

Functions

Link copied to clipboard
fun scan(rootNode: SemanticsNode): ScanResult

Scans from a semantics node, typically in tests or manual tree walks.

Scans the live Compose semantics tree via SemanticsOwner.