Focus rings only for Tab navigation (#415) #431

Closed
kayg wants to merge 0 commits from issue/415-tab-rings into dev
Owner

Closes #415. Rings (data-input) now turn on only for Tab / Shift+Tab, or arrows / Home / End on a roving UI control; never for modifiers, shortcuts, Esc, Enter or typing, and the note text never draws a ring. The no-motion signal (data-last-input) is untouched. Both written only on change.

Cause and test results are in the issue comment. chromium-1440 50, webkit-1440 47, chromium-390 42 passed (keys-rings, keys-tab, keys-no-motion, shortcuts, tabs, glass, editor, bar-*).

🤖 Generated with Claude Code

https://claude.ai/code/session_018Yyy8fQGxPLkLa8v8NXz7T

Closes #415. Rings (data-input) now turn on only for Tab / Shift+Tab, or arrows / Home / End on a roving UI control; never for modifiers, shortcuts, Esc, Enter or typing, and the note text never draws a ring. The no-motion signal (data-last-input) is untouched. Both written only on change. Cause and test results are in the issue comment. chromium-1440 50, webkit-1440 47, chromium-390 42 passed (keys-rings, keys-tab, keys-no-motion, shortcuts, tabs, glass, editor, bar-*). 🤖 Generated with [Claude Code](https://claude.ai/code) https://claude.ai/code/session_018Yyy8fQGxPLkLa8v8NXz7T
Focus rings only for Tab navigation, never modifiers, shortcuts or typing (#415)
Some checks failed
CI / server (pull_request) Successful in 35s
CI / rust (pull_request) Successful in 2m17s
CI / web (pull_request) Failing after 44m46s
a86481f8d9
The ring switch (data-input) was set in apps/web for Tab and every arrow key, anywhere, so
arrows in the link picker turned on the editor's own :focus-visible ring (a contenteditable
always matches it). It now lives next to the motion signal in packages/ui inputSource and
flips to keyboard only on Tab / Shift+Tab, or arrows / Home / End on a roving control
(data-roving lists, tablist, radiogroup, menu, listbox, separator), never inside a field or the
editor, never with a modifier held. The note text never draws a ring. data-last-input (no
motion after shortcuts) is unchanged and separate. Both attributes are written only on change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Yyy8fQGxPLkLa8v8NXz7T
Author
Owner

Landed in dev via train k (#441).

Landed in dev via train k (#441).
kayg closed this pull request 2026-10-15 14:34:37 +00:00
Some checks failed
CI / server (pull_request) Successful in 35s
CI / rust (pull_request) Successful in 2m17s
CI / web (pull_request) Failing after 44m46s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal!431
No description provided.