ov.analysis.ux.heuristics#
Heuristic analyzer: the automatable subset of Nielsen / cognitive-walkthrough (D3 §6).
Each heuristic maps to a machine-observable signal computed from the journey trace + console + DOM:
console-error-on-step – a console error emitted during a step (robustness).
missing feedback (Nielsen H1 / CW Q4) – a
clickwhose post-observation hash is unchanged with no console/network delta (no visible response).live-region presence (WCAG 4.1.3) – dynamic states but no
aria-live/role=statusregion to announce them.
The Operator’s per-step intent is the cognitive-walkthrough ground truth for “expected action”, so a noop on an intentful click is a meaningful signal.
Functions
|
Emit Findings for console-on-step, missing feedback, and live-region absence. |