View Source A11yAudit.Results.Violation (A11y Audit v0.2.2)

Corresponds to a single object in axe-core's violations array of the results object. Some fields omitted.

Axe-core documentation: https://github.com/dequelabs/axe-core/blob/develop/doc/API.md#results-arrays

Summary

Types

@type impact() :: :minor | :moderate | :serious | :critical
@type t() :: %A11yAudit.Results.Violation{
  description: String.t(),
  help: String.t(),
  help_url: String.t(),
  id: String.t(),
  impact: impact(),
  nodes: [A11yAudit.Results.Node.t()]
}