Skip to content

Commit 392d666

Browse files
committed
Improved accessability styles when tabbing through buttons
1 parent 4c3e073 commit 392d666

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

apps/webapp/app/components/code/TSQLResultsTable.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,7 @@ function CopyableCell({
721721
"relative flex w-full items-center overflow-hidden px-2 py-1.5",
722722
"bg-background-bright group-hover/row:bg-charcoal-750",
723723
"font-mono text-xs text-text-dimmed group-hover/row:text-text-bright",
724+
"[&_a:focus-visible]:underline [&_a:focus-visible]:underline-offset-[3px] [&_a:focus-visible]:outline-none",
724725
alignment === "right" && "justify-end"
725726
)}
726727
onMouseEnter={() => setIsHovered(true)}
@@ -847,7 +848,7 @@ function HeaderCellContent({
847848
}}
848849
onMouseEnter={() => setIsFilterHovered(true)}
849850
onMouseLeave={() => setIsFilterHovered(false)}
850-
className="flex-shrink-0 rounded text-text-dimmed transition-colors hover:text-text-bright"
851+
className="flex-shrink-0 rounded text-text-dimmed transition-colors hover:text-text-bright focus-custom"
851852
title="Toggle column filters"
852853
>
853854
{showFilters ? <IconFilter2X className="size-4" /> : <IconFilter2 className="size-4" />}

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.query/AITabContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export function AITabContent({
5555
key: (prev?.key ?? 0) + 1,
5656
}));
5757
}}
58-
className="group flex w-fit items-center gap-2 rounded-full border border-dashed border-charcoal-600 px-4 py-2 transition-colors hover:border-solid hover:border-indigo-500"
58+
className="group flex w-fit items-center gap-2 rounded-full border border-dashed border-charcoal-600 px-4 py-2 transition-colors hover:border-solid hover:border-indigo-500 focus-custom focus-visible:!rounded-full"
5959
>
6060
<SparkleListIcon className="size-4 shrink-0 text-text-dimmed transition group-hover:text-indigo-500" />
6161
<Paragraph variant="small" className="text-left transition group-hover:text-text-bright">

0 commit comments

Comments
 (0)