A11yIssue

data class A11yIssue(val issueId: String, val severity: A11ySeverity, val ruleId: String, val ruleName: String, val affectedNode: A11yNode, val message: String, val howToFix: String, val wcagReference: String?)

Accessibility violation produced by an com.composea11yscanner.core.rule.A11yRule.

Constructors

Link copied to clipboard
constructor(issueId: String, severity: A11ySeverity, ruleId: String, ruleName: String, affectedNode: A11yNode, message: String, howToFix: String, wcagReference: String?)

Properties

Link copied to clipboard

Node that caused the rule to fail.

Link copied to clipboard

Suggested remediation text for developers.

Link copied to clipboard

Stable issue identifier, usually derived from the rule id and affected node id.

Link copied to clipboard

Short explanation of the problem.

Link copied to clipboard

Stable identifier of the rule that produced this issue.

Link copied to clipboard

Human-readable rule name.

Link copied to clipboard

User-facing priority used for sorting and visual treatment.

Link copied to clipboard

Optional WCAG criterion related to the issue.