ScannerRules

Factory and metadata for the bundled scanner rule set.

Properties

Link copied to clipboard
const val VERSION: String

Version of the bundled rule set.

Functions

Link copied to clipboard

Returns every built-in rule id understood by buildRules.

Link copied to clipboard
fun buildRules(config: ScannerConfig, screenDensity: Float): List<A11yRule>

Builds the list of rules enabled by config, wiring density-dependent rules with screenDensity.