fix(ui): focus rings at full strength for 3:1 contrast (#1737)
The shared components used focus-visible:ring-ring/50 (and the base outline-ring/50), which measured 2.1:1 on light and 2.4:1 on dark -- under the 3:1 WCAG 2.4.11/1.4.11 requires. All ring-ring and outline-ring tokens in ui/src now render at full strength (5.3:1 light, 5.7:1 dark), matching the :focus-visible outline floor in style.css.
This commit is contained in:
26 files changed
+26
-26
No files matched your search
@@ -521,7 +521,7 @@ onBeforeUnmount(() => yamlObserver?.disconnect());
|
||||
screen reader reach.
|
||||
-->
|
||||
<div
|
||||
class="relative overflow-hidden rounded-lg border border-input font-mono max-md:h-full text-label leading-6 focus-within:border-ring focus-within:ring-3 focus-within:ring-ring/50"
|
||||
class="relative overflow-hidden rounded-lg border border-input font-mono max-md:h-full text-label leading-6 focus-within:border-ring focus-within:ring-3 focus-within:ring-ring"
|
||||
>
|
||||
<div
|
||||
aria-hidden="true"
|
||||
|
||||
Reference in new issue
Block a user