chore(studio): drop redundant tabIndex from inline-link buttons

Buttons are keyboard-focusable by default; the explicit tabIndex={0} on
the three mode-switch links was a no-op.
This commit is contained in:
Wen Bo Xie committed 2026-08-05 14:03:21 +07:00
1 parent fb0ecf9a5c
commit eef24e1ea1
3 files changed
+1 -8

No files matched your search

@@ -120,7 +120,6 @@ export const NewScopedTokenForm = ({
onClick={() =>
form.setValue('resourceAccess', 'project', { shouldValidate: true })
}
tabIndex={0}
>
Create scoped token
</button>
@@ -268,7 +268,6 @@ export const NewScopedTokenFormReview = ({
type="button"
className={InlineLinkClassName}
onClick={onSelectLegacyToken}
tabIndex={0}
>
create a legacy token
</button>
@@ -106,12 +106,7 @@ export const ResourceAccessStep = ({
description={
<p className="text-foreground-lighter text-sm">
Need a token with full access to your account or one for the Supabase MCP server?{' '}
<button
type="button"
className={InlineLinkClassName}
onClick={onSelectLegacyToken}
tabIndex={0}
>
<button type="button" className={InlineLinkClassName} onClick={onSelectLegacyToken}>
Create legacy token
</button>
</p>