V9 — Dynamic content and focus traps
javascript:void(0) link with onclick (not keyboard-friendly link semantics):
Modal that opens but has no keyboard escape and no focus management:
Anchor with no href (not focusable):
Span pretending to be a button:
Fake span-button
Skip link target missing:
(No element with id=main-content exists in this post.)
tabindex out of natural order:
Negative tabindex hiding a button from sequence:
Outline:none on a focusable button (no visible focus indicator):
Auto-redirect via meta-refresh (simulated; just author the tag pattern in body text):
<meta http-equiv=”refresh” content=”3;url=other.html”> would be a violation if in head.
Onclick on a div with no role and no key handler:
Auto-focusing input on page load (steals focus):