Skip to content

Commit

Permalink
Keyboard nav support for the theme modals (just need to get the cards…
Browse files Browse the repository at this point in the history
… into the tab ordering)
  • Loading branch information
thsparks committed Mar 8, 2025
1 parent b35173c commit b42adef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions react-common/components/theming/ThemeCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ export const ThemeCard = (props: ThemeCardProps) => {
<Card
className="theme-card"
role="listitem"
aria-label={theme.name}
key={theme.id}
onClick={() => onClick(theme)}
tabIndex={onClick && 0}
>
<div className="theme-info-box">
<ThemePreview theme={theme} />
Expand Down

0 comments on commit b42adef

Please sign in to comment.