Merge pull request #34119 from backstage/fix-card-link-focus-ring

fix(ui): show focus indicator on Card when used as a link
This commit is contained in:
Emma Indal
2026-05-05 13:40:17 +02:00
committed by GitHub
3 changed files with 16 additions and 2 deletions
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/ui': patch
---
Fix `Card href=...` not showing a focus indicator on keyboard navigation. `Link` now composes `useFocusRing`, emits `data-focus-visible`, and renders a `--bui-ring` outline when keyboard-focused. The Card's existing focus-ring CSS matches when the trigger is focused.
_Affected components_: Card, Link