ScanResult

data class ScanResult(val scanId: String, val timestamp: Long, val totalNodes: Int, val issues: List<A11yIssue>, val passedRules: Int, val failedRules: Int)

Final outcome of a completed accessibility scan.

Constructors

Link copied to clipboard
constructor(scanId: String, timestamp: Long, totalNodes: Int, issues: List<A11yIssue>, passedRules: Int, failedRules: Int)

Properties

Link copied to clipboard

Number of error-severity issues in issues.

Link copied to clipboard

Number of enabled rules that produced at least one issue.

Link copied to clipboard

True when at least one error-severity issue was found.

Link copied to clipboard

Number of info-severity issues in issues.

Link copied to clipboard

Issues produced by enabled rules.

Link copied to clipboard

Score from 0–100 representing the percentage of rules that passed. Returns 100 when no rules have run yet.

Link copied to clipboard

Number of enabled rules that produced no issues.

Link copied to clipboard

Unique id for this scan run.

Link copied to clipboard

Wall-clock timestamp in milliseconds when the result was created.

Link copied to clipboard

Number of nodes considered by the scanner.

Link copied to clipboard

Number of warning-severity issues in issues.