DuplicateContentDescriptionRule

Flags sibling-level nodes that reuse the same non-empty content description.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val ruleId: String

Stable id for the duplicate content description rule.

Link copied to clipboard
open override val ruleName: String

Human-readable rule name.

Link copied to clipboard
open override val severity: A11ySeverity.Warning

Severity assigned to duplicate labels.

Link copied to clipboard
open override val wcagReference: String

WCAG criterion associated with distinguishable labels.

Functions

Link copied to clipboard
override fun evaluate(node: A11yNode): A11yIssue?
Link copied to clipboard
open override fun evaluateAll(nodes: List<A11yNode>): List<A11yIssue>

Evaluates all nodes together to find repeated labels at the same depth.