A violation is an intentional action (or inaction) that results in noncompliance with known rules, policies, procedures or acceptable norms.
Deliberate sabotage is in theory a violation, however, that is another subject, and this article is concerned only with day-to-day cases of deviation from rules etc.
Violations are classified within Human Factors as one category of an “unsafe act”; the other category contains all “errors”.