Restore the focus ring that #181 made invisible #198
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "restore-focus-ring"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PR #196 retired Waggle's
--focus-ringand mapped it onto--semantics-focus-ring-box-shadowby name. That token is not the ring.It resolves to
0 0 0 3px var(--semantics-surfaces-base-background-color): the gap NLDD paints between an element and its outline, so the ring stays legible over busy content. Applied on its own it draws the page background onto the page background, so every element relying on the global rule lost its focus indicator (WCAG 2.4.7). Before #196 the same declaration used--focus-ring, a translucent blue, and was visible.NLDD applies the three declarations together -
-outline,-outline-offset,-box-shadow- in 113 of its own components. This does the same, inbase.cssand in the four places that restate the recipe locally (Toast.vue,MentionProfilePopover.vue,ImportPanel.vue, and the.mm-mentionrule).No CHANGELOG entry: the regression never reached a release, so the fix nets to zero for users.
Verified
vue-tscclean, 533 tests green, build green, eslint 0 errors0 0 0 3px <page background>, now additionally1px solid var(--primitives-color-accent-600)at a 1px offsetNot in scope
The eight sites using
outline: 2px solid var(--color-focus)are a second, working recipe. Unifying them onto NLDD's triple is a consistency improvement, not a defect, and follows separately.robbertbos referenced this pull request2026-07-26 20:34:02 +00:00