Behaviour for checks that validate rendered HTML.
Each check receives a small validation context containing the original HTML string and the parsed document term produced for that HTML.
Summary
Callbacks
Validates rendered HTML for one check.
Types
Validation context passed to an HTML check.
html is the original rendered HTML string. document is the parsed HTML
document term produced for that string.
@type result() :: :ok | {:error, [Bylaw.HTML.Issue.t(), ...]}
The result returned by an HTML check.