Skill Wiki v0.1.0
anti-pattern @community/anti-pattern-breaking-keyboard-flow

Breaking Keyboard Flow

Re-implementing a `<button>`, `<a>`, `<input>`, or `<select>` as a custom `<div>` for styling reasons, without restoring the native keyboard semantics.…

Skill
@community
Domain
accessibility
Version
1.0.0
Quality
4.0
Edges
4 out · 16 in
Tokens
105/521/938
$ prime install @community/anti-pattern-breaking-keyboard-flow

Projection

Always in _index.xml · the agent never has to ask for this.

BreakingKeyboardFlow [anti-pattern] v1.0.0

Re-implementing a <button>, <a>, <input>, or <select> as a custom <div> for styling reasons, without restoring the native keyboard semantics. The <div onClick> is unreachable by Tab, doesn't activate on Enter or Space, doesn't have a role, and isn't announced as interactive by screen readers. Tab order silently skips the entire control.

Source

prime-system/examples/frontend-design/primes/compiled/@community/anti-pattern-breaking-keyboard-flow/atom.yaml

Compiled at 2026-05-07