Skip to content

fix(studio): chip away explicit-tabindex ratchet debt - #48040

Merged
dnywh merged 16 commits into
masterfrom
danny/depr-626-chip-away-studio-explicit-tabindex-ratchet-debt-82
Jul 20, 2026
Merged

dnywh merged 16 commits into
masterfrom
danny/depr-626-chip-away-studio-explicit-tabindex-ratchet-debt-82

Conversation

@dnywh

@dnywh dnywh commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

A11y cleanup follow-up to #47984 / DEPR-626.

What is the current behavior?

Studio had 82 ratcheted supabase/require-explicit-tabindex violations (raw <button> / role="button" without explicit tabIndex).

What is the new behavior?

  • Explicit tabIndex={0} (or disabled → -1) on those Studio call sites across nav, components/ui, Database, Storage, and the remainder
  • Ratchet baseline cleared (82 → 0) and the rule removed from the Studio ratchet (debt is gone; ratchet is temporary)
  • Rule remains a shared warn for now — promoting to error (and sweeping www/docs/design-system) is a follow-up
  • Also fixed the learn/ui-library call sites that surfaced while experimenting with error promotion
  • Small follow-ups where making controls focusable exposed gaps: accessible names, disabled/focus consistency, focus-ring polish on To-test surfaces, home section KeyboardSensor, and an E2E locator tightened after aria-label="Remove column"

Prefer migrating to Button from ui in future touch-ups; this PR takes the minimal path so Studio debt can stay at zero.

Additional context

Batches landed together so baseline conflicts stayed simple while chipping away:

  • Hotspots / nav (FirstLevelNav, Marketplace, AttachmentUpload, Column, Tabs, …)
  • components/ui shared
  • Database + Storage
  • Remainder

Out of scope / intentional deferrals

  • Promoting supabase/require-explicit-tabindex to a lint error (follow-up after www/docs/design-system sweeps)
  • Tabs/Radio roving, tooltips, context menus, in-menu items
  • Full keyboard-accessible tab-close UX (close stays hover + tabIndex={-1}; context menu still closes tabs)
  • Data API docs links (/project/<ref>/api redirect)

Reviewer notes

  • Rule only flags raw <button> / role="button" without a tabIndex prop. Button from ui already bakes this in
  • tabIndex={-1} is intentional for disabled controls, in-menu / roving-focus children, and hover-only tab close
  • For dnd-kit grips, put tabIndex after {...attributes} so it isn’t overwritten (TS2783)

To test

Use Safari with macOS Keyboard navigation off (System Settings → Keyboard). Chrome once for a sanity pass. For each surface below: Tab until the control is focused, then activate with Enter/Space where relevant.

  1. API Docs side panel (Table Editor → open a table → API docs)

    • Floating API Docs panel — not /project/<ref>/api (that redirects to Data API docs; language ToggleGroup uses arrow keys; links are out of scope)
    • Left nav buttons — Tab through several and activate one; active highlight / navigation still works
  2. Integrations → Marketplace

    • Enable Integrations layout feature preview first (avatar menu → Feature previews)
    • /org/<slug>/integrations or project integrations marketplace
    • “Clear all”, grid/list toggles — Tab + activate
  3. Table Editor → create a table → Columns

    • Drag handles only appear while creating (not when editing an existing table)
    • Tab to grip / remove (X) / sensitive-data eye if shown
  4. Project Home — section drag handles

    • Tab to a grip (visible focus ring)
    • Optional: Space to pick up, arrows to move, Space/Esc to drop (KeyboardSensor added)
    • Mouse dnd still works
  5. Storage → Policies — expand/collapse bucket list chevron (design-system focus ring, no stuck grey open bg)

  6. Support form (Help → Support) — attachment remove (×) and add-attachment control when visible

Disabled controls should be skipped by Tab.

Summary by CodeRabbit

  • Accessibility Improvements
    • Improved keyboard navigation throughout Studio by explicitly managing focus (tabIndex) across many interactive controls (menus, tabs, tables, charts, dialogs, navigation, and form actions).
    • Disabled or non-interactive controls are now removed from the tab order (or made unfocusable), while available actions remain reachable.
    • Ensured type="button" on relevant controls to prevent unintended submissions, and refined keyboard focus behavior for various toggles and copy/remove actions.
  • Chores
    • Updated the ESLint rule baseline configuration to match the new focus behavior.

Add explicit tabIndex to raw buttons and role=button call sites across Studio, and decrease the supabase/require-explicit-tabindex baseline from 82 to 0.
@dnywh
dnywh requested a review from a team as a code owner July 17, 2026 14:57
@vercel

vercel Bot commented Jul 17, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
design-system Ready Ready Preview, Comment Jul 20, 2026 10:10pm
docs Ready Ready Preview, Comment, Open in v0 Jul 20, 2026 10:10pm
studio-self-hosted Ready Ready Preview, Comment Jul 20, 2026 10:10pm
studio-staging Ready Ready Preview, Comment Jul 20, 2026 10:10pm
ui-library Ready Ready Preview, Comment Jul 20, 2026 10:10pm
zone-www-dot-com Ready Ready Preview, Comment, Open in v0 Jul 20, 2026 10:10pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
studio Ignored Ignored Jul 20, 2026 10:10pm

Request Review

@supabase

supabase Bot commented Jul 17, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@coderabbitai

coderabbitai Bot commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Studio adds explicit keyboard focus behavior across interactive controls, including conditional tabIndex values for disabled, unavailable, validating, or hidden elements. The explicit-tabindex ESLint baselines are cleared.

Changes

Studio keyboard accessibility

Layer / File(s) Summary
Enable explicit tabindex enforcement
apps/studio/.github/eslint-rule-baselines.json
Resets the explicit-tabindex rule baseline and removes per-file suppressions.
Studio controls
apps/studio/components/grid/*, apps/studio/components/interfaces/*
Adds explicit or conditional focus behavior across Studio controls, navigation, forms, storage, queries, and editors.
Layout and shared UI controls
apps/studio/components/layouts/*, apps/studio/components/ui/*
Updates focus behavior for menus, tabs, charts, filters, developer-toolbar actions, badges, and other shared controls.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

Suggested reviewers: fsansalvadore

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly summarizes the main change: a Studio accessibility cleanup removing explicit-tabindex debt.
Description check ✅ Passed The description is mostly complete and matches the template, but it omits the required CONTRIBUTING.md yes/no acknowledgment.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch danny/depr-626-chip-away-studio-explicit-tabindex-ratchet-debt-82

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (4)
apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckbox.tsx (1)

149-160: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Make the hover-only “Only” actions keyboard-visible.

These controls are now tabbable, but pointer-hover styling still prevents keyboard users from seeing or reaching them. Replace hidden group-hover:flex with keyboard-compatible visibility, and add a focus-visible opacity rule to the FilterPopover button.

  • apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckbox.tsx#L149-L160: remove hidden or add a keyboard-visible state such as group-focus-within:flex.
  • apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckboxAsync.tsx#L119-L130: apply the same keyboard-visible treatment.
  • apps/studio/components/ui/FilterPopover.tsx#L123-L132: add focus-visible:opacity-100 so the focused button is visible.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckbox.tsx`
around lines 149 - 160, Make the tabbable “Only” controls keyboard-visible: in
apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckbox.tsx
lines 149-160 and DataTableFilterCheckboxAsync.tsx lines 119-130, replace or
supplement hidden group-hover:flex with a group-focus-within:flex-compatible
visibility treatment; in apps/studio/components/ui/FilterPopover.tsx lines
123-132, add focus-visible:opacity-100 to the FilterPopover button.
apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelIntegrationConnectionForm.tsx (1)

298-305: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Replace the focusable role="button" code elements with native buttons.

These elements are now tabbable but are not keyboard-operable with Enter/Space, and disabled only changes tabIndex without preventing clicks. Prefer native disabled buttons, or implement keyboard activation plus aria-disabled and an explicit disabled guard.

  • apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelIntegrationConnectionForm.tsx#L298-L305: Fix the NEXT_PUBLIC_ preset control.
  • apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelIntegrationConnectionForm.tsx#L309-L314: Fix the VITE_PUBLIC_ preset control.
  • apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelIntegrationConnectionForm.tsx#L320-L327: Fix the PUBLIC_ preset control.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelIntegrationConnectionForm.tsx`
around lines 298 - 305, Replace the focusable code elements used for the
NEXT_PUBLIC_, VITE_PUBLIC_, and PUBLIC_ preset controls in
apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelIntegrationConnectionForm.tsx
at lines 298-305, 309-314, and 320-327 with native buttons. Preserve each
field.onChange preset value, use the native disabled state when disabled, and
remove the custom role, tabIndex, and click-only accessibility handling.
apps/studio/components/layouts/ProjectLayout/LayoutHeader/MobileMenuContent/OrgMenuItem.tsx (1)

42-46: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Disabled navigation remains keyboard-activatable in both menu components.

The new tabIndex handling covers only submenu buttons; disabled items rendered as links remain focusable and navigable because pointer-events-none does not affect keyboard input.

  • apps/studio/components/layouts/ProjectLayout/LayoutHeader/MobileMenuContent/OrgMenuItem.tsx#L42-L46: apply disabled semantics to the <Link> branch.
  • apps/studio/components/layouts/ProjectLayout/LayoutHeader/MobileMenuContent/TopLevelRouteItem.tsx#L43-L47: apply the same disabled handling to route links.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@apps/studio/components/layouts/ProjectLayout/LayoutHeader/MobileMenuContent/OrgMenuItem.tsx`
around lines 42 - 46, Disabled links remain keyboard-focusable and navigable
despite pointer-events styling. Update the Link branches in
apps/studio/components/layouts/ProjectLayout/LayoutHeader/MobileMenuContent/OrgMenuItem.tsx:42-46
and
apps/studio/components/layouts/ProjectLayout/LayoutHeader/MobileMenuContent/TopLevelRouteItem.tsx:43-47
to apply the same disabled semantics as the menu buttons, including removing
disabled items from tab navigation and preventing their keyboard
activation/navigation.
apps/studio/components/layouts/Tabs/SortableTab.tsx (1)

117-134: 🎯 Functional Correctness | 🟠 Major | 🏗️ Heavy lift

The tab close controls need a valid keyboard interaction model.

Both changes add a focusable role="button" inside a TabsTrigger button, without keyboard activation or visible focus styling.

  • apps/studio/components/layouts/Tabs/SortableTab.tsx#L117-L134: move the close control outside TabsTrigger or replace it with a properly keyboard-operable structure.
  • apps/studio/components/layouts/Tabs/Tabs.tsx#L231-L247: apply the same structural fix to the new-tab close control.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/studio/components/layouts/Tabs/SortableTab.tsx` around lines 117 - 134,
The close controls are focusable role="button" elements nested inside
TabsTrigger buttons without keyboard activation or focus styling. In
apps/studio/components/layouts/Tabs/SortableTab.tsx lines 117-134, move the
close control outside TabsTrigger or restructure it into a properly
keyboard-operable control with visible focus styling; apply the same structural
fix to the new-tab close control in apps/studio/components/layouts/Tabs/Tabs.tsx
lines 231-247.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@apps/studio/components/interfaces/Support/AttachmentUpload.tsx`:
- Around line 248-250: Add an accessible name to the icon-only button in the
attachment upload component by adding aria-label="Add attachment" or equivalent
visually hidden text. Keep its existing button behavior and keyboard focus
configuration unchanged.

In `@apps/studio/components/ui/AIAssistantPanel/ModelSelector.tsx`:
- Line 85: Update the Badge in ModelSelector so it no longer presents as an
actionable button without activation behavior: remove role="button" and
tabIndex={0}, or replace it with a genuinely interactive button wired to click,
Enter, and Space handling. Preserve the warning badge’s passive tooltip
behavior.

In `@apps/studio/components/ui/DevToolbar/ResourceWarningsTab.tsx`:
- Around line 217-220: Update SeverityButton and its callers to accept the
isDisabled state, apply it to the button’s disabled attribute, and set tabIndex
to -1 when disabled while preserving the existing enabled behavior. Ensure
unavailable severity controls cannot receive keyboard focus or change local
state when the required project/org context is missing.

---

Outside diff comments:
In
`@apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelIntegrationConnectionForm.tsx`:
- Around line 298-305: Replace the focusable code elements used for the
NEXT_PUBLIC_, VITE_PUBLIC_, and PUBLIC_ preset controls in
apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelIntegrationConnectionForm.tsx
at lines 298-305, 309-314, and 320-327 with native buttons. Preserve each
field.onChange preset value, use the native disabled state when disabled, and
remove the custom role, tabIndex, and click-only accessibility handling.

In
`@apps/studio/components/layouts/ProjectLayout/LayoutHeader/MobileMenuContent/OrgMenuItem.tsx`:
- Around line 42-46: Disabled links remain keyboard-focusable and navigable
despite pointer-events styling. Update the Link branches in
apps/studio/components/layouts/ProjectLayout/LayoutHeader/MobileMenuContent/OrgMenuItem.tsx:42-46
and
apps/studio/components/layouts/ProjectLayout/LayoutHeader/MobileMenuContent/TopLevelRouteItem.tsx:43-47
to apply the same disabled semantics as the menu buttons, including removing
disabled items from tab navigation and preventing their keyboard
activation/navigation.

In `@apps/studio/components/layouts/Tabs/SortableTab.tsx`:
- Around line 117-134: The close controls are focusable role="button" elements
nested inside TabsTrigger buttons without keyboard activation or focus styling.
In apps/studio/components/layouts/Tabs/SortableTab.tsx lines 117-134, move the
close control outside TabsTrigger or restructure it into a properly
keyboard-operable control with visible focus styling; apply the same structural
fix to the new-tab close control in apps/studio/components/layouts/Tabs/Tabs.tsx
lines 231-247.

In
`@apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckbox.tsx`:
- Around line 149-160: Make the tabbable “Only” controls keyboard-visible: in
apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckbox.tsx
lines 149-160 and DataTableFilterCheckboxAsync.tsx lines 119-130, replace or
supplement hidden group-hover:flex with a group-focus-within:flex-compatible
visibility treatment; in apps/studio/components/ui/FilterPopover.tsx lines
123-132, add focus-visible:opacity-100 to the FilterPopover button.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: de3ea3b4-8942-456b-ae9c-4015b083d24b

📥 Commits

Reviewing files that changed from the base of the PR and between 6f19dfe and b2ecf14.

📒 Files selected for processing (65)
  • apps/studio/.github/eslint-rule-baselines.json
  • apps/studio/components/grid/components/grid/ColumnHeader.tsx
  • apps/studio/components/grid/components/header/sort/SortRow.tsx
  • apps/studio/components/interfaces/App/FeaturePreview/FeaturePreviewModal.tsx
  • apps/studio/components/interfaces/BranchManagement/EdgeFunctionsDiffPanel.tsx
  • apps/studio/components/interfaces/BranchManagement/WorkflowLogs.tsx
  • apps/studio/components/interfaces/Connect/OrganizationSelector.tsx
  • apps/studio/components/interfaces/ConnectSheet/ConnectConfigSection.tsx
  • apps/studio/components/interfaces/ConnectSheet/ConnectionParameters.tsx
  • apps/studio/components/interfaces/Database/EnumeratedTypes/EnumeratedTypeValueRow.tsx
  • apps/studio/components/interfaces/Database/Policies/PolicyEditorPanel/PolicyEditorPanelHeader.tsx
  • apps/studio/components/interfaces/Database/Privileges/PrivilegesTable.tsx
  • apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/DuckLake/Fields.tsx
  • apps/studio/components/interfaces/Database/Replication/DestinationPanel/ReadReplicaForm/ReadReplicaPricingDialog.tsx
  • apps/studio/components/interfaces/Database/Replication/ReplicationPipelineStatus/SlotLagMetrics.tsx
  • apps/studio/components/interfaces/Database/Replication/ReplicationPipelineStatus/SlotStatus.tsx
  • apps/studio/components/interfaces/Database/Replication/ReplicationPipelineStatus/TableReplicationRow.tsx
  • apps/studio/components/interfaces/Database/Roles/RoleRow.tsx
  • apps/studio/components/interfaces/Database/Roles/RolesList.tsx
  • apps/studio/components/interfaces/Database/Triggers/TriggerSheet.tsx
  • apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.NodeRow.tsx
  • apps/studio/components/interfaces/Functions/CommandRender.tsx
  • apps/studio/components/interfaces/Functions/EdgeFunctionsListItem.tsx
  • apps/studio/components/interfaces/Integrations/Integration/MarkdownContent.tsx
  • apps/studio/components/interfaces/Integrations/Marketplace/MarketplaceFilterBar.tsx
  • apps/studio/components/interfaces/LogDrains/LogDrainsCard.tsx
  • apps/studio/components/interfaces/Observability/ServiceHealthTable.tsx
  • apps/studio/components/interfaces/Organization/OrganizationCard.tsx
  • apps/studio/components/interfaces/Organization/PrivateApps/Apps/ViewAppSheet/ViewAppSheetInfo.tsx
  • apps/studio/components/interfaces/ProjectAPIDocs/FirstLevelNav.tsx
  • apps/studio/components/interfaces/ProjectAPIDocs/SecondLevelNav.Layout.tsx
  • apps/studio/components/interfaces/ProjectHome/ConnectSection.tsx
  • apps/studio/components/interfaces/ProjectHome/SortableSection.tsx
  • apps/studio/components/interfaces/QueryInsights/QueryInsightsChart/QueryInsightsChart.tsx
  • apps/studio/components/interfaces/QueryPerformance/QueryPerformanceMetrics.tsx
  • apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelIntegrationConnectionForm.tsx
  • apps/studio/components/interfaces/Storage/BucketFilePickerDialog/BucketFilePickerHeader.tsx
  • apps/studio/components/interfaces/Storage/StorageExplorer/FileExplorerRowEditing.tsx
  • apps/studio/components/interfaces/Storage/StorageExplorer/MoveItemsModal.tsx
  • apps/studio/components/interfaces/Storage/StoragePolicies/StoragePoliciesBucketsSection.tsx
  • apps/studio/components/interfaces/Storage/StoragePolicies/StoragePolicyEditorModalTitle.tsx
  • apps/studio/components/interfaces/Storage/StorageSettings/StorageSettings.ValidateSizeLimit.tsx
  • apps/studio/components/interfaces/Support/AttachmentUpload.tsx
  • apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetImportPreview.tsx
  • apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/Column.tsx
  • apps/studio/components/layouts/EdgeFunctionsLayout/EdgeFunctionDetailsLayout.tsx
  • apps/studio/components/layouts/Navigation/LayoutHeader/FeedbackDropdown/FeedbackWidget.tsx
  • apps/studio/components/layouts/ProjectLayout/LayoutHeader/MobileMenuContent/OrgMenuItem.tsx
  • apps/studio/components/layouts/ProjectLayout/LayoutHeader/MobileMenuContent/TopLevelRouteItem.tsx
  • apps/studio/components/layouts/TableEditorLayout/EntityListItem.tsx
  • apps/studio/components/layouts/Tabs/CollapseButton.tsx
  • apps/studio/components/layouts/Tabs/SortableTab.tsx
  • apps/studio/components/layouts/Tabs/Tabs.tsx
  • apps/studio/components/ui/AIAssistantPanel/ModelSelector.tsx
  • apps/studio/components/ui/Charts/ChartHighlightActions.tsx
  • apps/studio/components/ui/Charts/ComposedChart.utils.tsx
  • apps/studio/components/ui/ComputeBadgeWrapper.tsx
  • apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckbox.tsx
  • apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckboxAsync.tsx
  • apps/studio/components/ui/DevToolbar/ProjectStatusTab.tsx
  • apps/studio/components/ui/DevToolbar/ResourceWarningsTab.tsx
  • apps/studio/components/ui/FeaturePreviewBadge.tsx
  • apps/studio/components/ui/FilterPopover.tsx
  • apps/studio/components/ui/PasswordStrengthBar.tsx
  • apps/studio/components/ui/SingleStat.tsx

@github-actions

github-actions Bot commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

🎭 Playwright Test Results (next)

passed  237 passed
flaky  2 flaky
skipped  5 skipped

Details

stats  244 tests across 29 suites
duration  4 minutes, 16 seconds
commit  6627c83

Flaky tests

Features › column-editor-types.spec.ts › column editor complex types › FK selector allows and creates a relation between two matching array columns
Features › table-editor.spec.ts › table editor › should show rls accordingly

Skipped tests

Features › auth-users.spec.ts › should show web3 users as enabled when the matching web3 provider is enabled
Features › sql-editor.spec.ts › SQL Editor › snippet favourite works as expected
Features › sql-editor.spec.ts › SQL Editor › share with team works as expected
Features › sql-editor.spec.ts › SQL Editor › folders works as expected
Features › sql-editor.spec.ts › SQL Editor › other SQL snippets actions work as expected

dnd-kit's attributes already include tabIndex; specifying it before the spread caused TS2783.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

A Studio accessibility cleanup that eliminates the remaining ratcheted supabase/require-explicit-tabindex violations by adding explicit tabIndex to raw button-like elements (and -1 when disabled), and then updates the Studio ESLint baseline to lock the rule at zero.

Changes:

  • Added explicit tabIndex={0} (or disabled → -1) across many Studio <button> / role="button" call sites to ensure consistent Safari keyboard focus behavior.
  • Updated a handful of related button attributes (e.g., some type="button" additions) to better match expected interaction semantics.
  • Dropped the Studio ratchet baseline for supabase/require-explicit-tabindex from 82 to 0.

Reviewed changes

Copilot reviewed 65 out of 65 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
apps/studio/components/ui/SingleStat.tsx Adds explicit tabIndex to clickable stat button
apps/studio/components/ui/PasswordStrengthBar.tsx Adds explicit tabIndex to “Generate a password” button
apps/studio/components/ui/FilterPopover.tsx Adds explicit tabIndex to “Only” button
apps/studio/components/ui/FeaturePreviewBadge.tsx Adds explicit tabIndex to feature preview badge button
apps/studio/components/ui/DevToolbar/ResourceWarningsTab.tsx Adds explicit tabIndex for reset + severity buttons (incl. disabled handling)
apps/studio/components/ui/DevToolbar/ProjectStatusTab.tsx Adds explicit tabIndex for reset button (incl. disabled handling)
apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckboxAsync.tsx Adds explicit tabIndex to filter option button
apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckbox.tsx Adds explicit tabIndex to expand + filter option buttons
apps/studio/components/ui/ComputeBadgeWrapper.tsx Adds explicit tabIndex to upgrade CTA button
apps/studio/components/ui/Charts/ComposedChart.utils.tsx Adds explicit tabIndex to chart label toggle button
apps/studio/components/ui/Charts/ChartHighlightActions.tsx Adds explicit tabIndex for dropdown action button (disabled handling)
apps/studio/components/ui/AIAssistantPanel/ModelSelector.tsx Adds explicit tabIndex to “Upgrade” badge inside model list
apps/studio/components/layouts/Tabs/Tabs.tsx Adds explicit tabIndex to close affordance in “New” tab trigger
apps/studio/components/layouts/Tabs/SortableTab.tsx Adds explicit tabIndex to close affordance in sortable tab
apps/studio/components/layouts/Tabs/CollapseButton.tsx Adds explicit tabIndex to collapse tabs button
apps/studio/components/layouts/TableEditorLayout/EntityListItem.tsx Adds explicit tabIndex to button-like entity link
apps/studio/components/layouts/ProjectLayout/LayoutHeader/MobileMenuContent/TopLevelRouteItem.tsx Adds explicit tabIndex with disabled handling
apps/studio/components/layouts/ProjectLayout/LayoutHeader/MobileMenuContent/OrgMenuItem.tsx Adds explicit tabIndex with disabled handling
apps/studio/components/layouts/Navigation/LayoutHeader/FeedbackDropdown/FeedbackWidget.tsx Adds explicit tabIndex to small notification button
apps/studio/components/layouts/EdgeFunctionsLayout/EdgeFunctionDetailsLayout.tsx Adds explicit tabIndex to hovercard trigger button
apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/Column.tsx Adds explicit tabIndex to drag handle / actions
apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/SpreadsheetImport/SpreadsheetImportPreview.tsx Adds explicit tabIndex to error expand button
apps/studio/components/interfaces/Support/AttachmentUpload.tsx Adds explicit tabIndex to remove/upload buttons
apps/studio/components/interfaces/Storage/StorageSettings/StorageSettings.ValidateSizeLimit.tsx Adds explicit tabIndex with validating (disabled) handling
apps/studio/components/interfaces/Storage/StoragePolicies/StoragePolicyEditorModalTitle.tsx Adds explicit tabIndex to back button
apps/studio/components/interfaces/Storage/StoragePolicies/StoragePoliciesBucketsSection.tsx Adds explicit tabIndex to collapsible trigger button
apps/studio/components/interfaces/Storage/StorageExplorer/MoveItemsModal.tsx Removes hidden submit button from tab order via tabIndex={-1}
apps/studio/components/interfaces/Storage/StorageExplorer/FileExplorerRowEditing.tsx Removes hidden submit button from tab order via tabIndex={-1}
apps/studio/components/interfaces/Storage/BucketFilePickerDialog/BucketFilePickerHeader.tsx Adds explicit tabIndex to breadcrumb button
apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelIntegrationConnectionForm.tsx Adds explicit tabIndex to clickable code presets (disabled handling)
apps/studio/components/interfaces/QueryPerformance/QueryPerformanceMetrics.tsx Adds explicit tabIndex to tooltip icon buttons
apps/studio/components/interfaces/QueryInsights/QueryInsightsChart/QueryInsightsChart.tsx Adds explicit tabIndex to series toggle buttons
apps/studio/components/interfaces/ProjectHome/SortableSection.tsx Adds type="button" + explicit tabIndex to drag handle
apps/studio/components/interfaces/ProjectHome/ConnectSection.tsx Adds explicit tabIndex matching disabled state for connect actions
apps/studio/components/interfaces/ProjectAPIDocs/SecondLevelNav.Layout.tsx Adds explicit tabIndex to API docs nav items
apps/studio/components/interfaces/ProjectAPIDocs/FirstLevelNav.tsx Adds explicit tabIndex to API docs nav + subsection items
apps/studio/components/interfaces/Organization/PrivateApps/Apps/ViewAppSheet/ViewAppSheetInfo.tsx Adds type="button" + explicit tabIndex to copy button
apps/studio/components/interfaces/Organization/OrganizationCard.tsx Adds explicit tabIndex with disabled handling
apps/studio/components/interfaces/Observability/ServiceHealthTable.tsx Adds explicit tabIndex to info tooltip button
apps/studio/components/interfaces/LogDrains/LogDrainsCard.tsx Adds type="button" + explicit tabIndex to card button
apps/studio/components/interfaces/Integrations/Marketplace/MarketplaceFilterBar.tsx Adds explicit tabIndex to filter controls
apps/studio/components/interfaces/Integrations/Integration/MarkdownContent.tsx Adds type="button" + explicit tabIndex to expand/collapse
apps/studio/components/interfaces/Functions/EdgeFunctionsListItem.tsx Adds explicit tabIndex to copy button
apps/studio/components/interfaces/Functions/CommandRender.tsx Adds explicit tabIndex to copy button
apps/studio/components/interfaces/ExplainVisualizer/ExplainVisualizer.NodeRow.tsx Adds explicit tabIndex matching expandable/disabled state
apps/studio/components/interfaces/Database/Triggers/TriggerSheet.tsx Adds explicit tabIndex to button selection control
apps/studio/components/interfaces/Database/Roles/RolesList.tsx Adds explicit tabIndex to filter toggle buttons
apps/studio/components/interfaces/Database/Roles/RoleRow.tsx Adds explicit tabIndex to collapsible trigger button
apps/studio/components/interfaces/Database/Replication/ReplicationPipelineStatus/TableReplicationRow.tsx Adds explicit tabIndex to inline “View error” button
apps/studio/components/interfaces/Database/Replication/ReplicationPipelineStatus/SlotStatus.tsx Adds explicit tabIndex to info popover trigger
apps/studio/components/interfaces/Database/Replication/ReplicationPipelineStatus/SlotLagMetrics.tsx Adds explicit tabIndex to info tooltip trigger
apps/studio/components/interfaces/Database/Replication/DestinationPanel/ReadReplicaForm/ReadReplicaPricingDialog.tsx Adds explicit tabIndex to dialog trigger link-button
apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationForm/DuckLake/Fields.tsx Adds explicit tabIndex to radio-like mode buttons
apps/studio/components/interfaces/Database/Privileges/PrivilegesTable.tsx Adds explicit tabIndex to column-name button
apps/studio/components/interfaces/Database/Policies/PolicyEditorPanel/PolicyEditorPanelHeader.tsx Adds explicit tabIndex to tools toggle button
apps/studio/components/interfaces/Database/EnumeratedTypes/EnumeratedTypeValueRow.tsx Adds explicit tabIndex with disabled handling
apps/studio/components/interfaces/ConnectSheet/ConnectionParameters.tsx Adds explicit tabIndex to copy buttons
apps/studio/components/interfaces/ConnectSheet/ConnectConfigSection.tsx Adds explicit tabIndex to mode selector buttons
apps/studio/components/interfaces/Connect/OrganizationSelector.tsx Adds explicit tabIndex with disabled handling
apps/studio/components/interfaces/BranchManagement/WorkflowLogs.tsx Adds explicit tabIndex with disabled handling on run selection
apps/studio/components/interfaces/BranchManagement/EdgeFunctionsDiffPanel.tsx Adds explicit tabIndex to file selector buttons
apps/studio/components/interfaces/App/FeaturePreview/FeaturePreviewModal.tsx Adds explicit tabIndex to feature selection button
apps/studio/components/grid/components/header/sort/SortRow.tsx Adds explicit tabIndex to drag handle button
apps/studio/components/grid/components/grid/ColumnHeader.tsx Adds explicit tabIndex to header action button
apps/studio/.github/eslint-rule-baselines.json Updates supabase/require-explicit-tabindex baseline from 82 → 0

Name the add-attachment control, drop a fake button role on an info badge,
keep disabled severity toggles out of tab order, use tabIndex=-1 for tab
close affordances, add Enter/Space on Vercel prefix presets, and make
hover-only “Only” filter actions visible on keyboard focus.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
apps/studio/components/layouts/Tabs/SortableTab.tsx (1)

117-134: 🎯 Functional Correctness | 🟠 Major | 🏗️ Heavy lift

Provide a keyboard-accessible tab-close control.

Both close controls are exposed as buttons but are skipped by tab navigation and only respond to pointer events. Use real sibling <button> elements with keyboard activation, or provide another accessible close path before applying tabIndex={-1}.

  • apps/studio/components/layouts/Tabs/SortableTab.tsx#L117-L134: fix the nested tab-close control.
  • apps/studio/components/layouts/Tabs/Tabs.tsx#L231-L248: apply the same fix to the “New” tab close control.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/studio/components/layouts/Tabs/SortableTab.tsx` around lines 117 - 134,
The nested tab-close control in SortableTab.tsx lines 117-134 and the “New” tab
close control in Tabs.tsx lines 231-248 are skipped by keyboard navigation and
only handle pointer events. Replace each with a real sibling button or otherwise
provide an accessible keyboard close path, preserving the existing onClose
behavior and event isolation from tab activation.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@apps/studio/components/layouts/Tabs/SortableTab.tsx`:
- Around line 117-134: The nested tab-close control in SortableTab.tsx lines
117-134 and the “New” tab close control in Tabs.tsx lines 231-248 are skipped by
keyboard navigation and only handle pointer events. Replace each with a real
sibling button or otherwise provide an accessible keyboard close path,
preserving the existing onClose behavior and event isolation from tab
activation.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 030f316f-d9d0-4f1a-8659-61528a7bc329

📥 Commits

Reviewing files that changed from the base of the PR and between 3b16db7 and eb89aad.

📒 Files selected for processing (9)
  • apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelIntegrationConnectionForm.tsx
  • apps/studio/components/interfaces/Support/AttachmentUpload.tsx
  • apps/studio/components/layouts/Tabs/SortableTab.tsx
  • apps/studio/components/layouts/Tabs/Tabs.tsx
  • apps/studio/components/ui/AIAssistantPanel/ModelSelector.tsx
  • apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckbox.tsx
  • apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckboxAsync.tsx
  • apps/studio/components/ui/DevToolbar/ResourceWarningsTab.tsx
  • apps/studio/components/ui/FilterPopover.tsx
🚧 Files skipped from review as they are similar to previous changes (5)
  • apps/studio/components/ui/FilterPopover.tsx
  • apps/studio/components/ui/DevToolbar/ResourceWarningsTab.tsx
  • apps/studio/components/ui/DataTable/DataTableFilters/DataTableFilterCheckboxAsync.tsx
  • apps/studio/components/interfaces/Support/AttachmentUpload.tsx
  • apps/studio/components/interfaces/Settings/Integrations/VercelIntegration/VercelIntegrationConnectionForm.tsx

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 65 out of 65 changed files in this pull request and generated 6 comments.

Comments suppressed due to low confidence (1)

apps/studio/components/layouts/Navigation/LayoutHeader/FeedbackDropdown/FeedbackWidget.tsx:260

  • This remove-screenshot icon button is now explicitly focusable but still lacks an accessible name. Adding an aria-label (and type="button") makes it discoverable to assistive tech.

@blacksmith-sh

This comment has been minimized.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 65 out of 65 changed files in this pull request and generated 4 comments.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 67 out of 67 changed files in this pull request and generated no new comments.

)}
{...attributes}
{...listeners}
tabIndex={0}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to be under dnd’s {...attributes}

ref={setActivatorNodeRef}
{...attributes}
{...listeners}
tabIndex={0}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to be under dnd’s {...attributes}

)}
<span
role="button"
tabIndex={-1}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By design. See TabsTrigger.

@djhi djhi Jul 20, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe we still have issues in this component:

  • The tab itself is actually 2 nested buttons (a div role="button" that contains a button)
  • The tab also includes the close button
Image

I think the proper markup would be to make the root div in this file a simple div without the role="button" and to move the close button as one of its direct children (a sibling of the TabsTrigger). Maybe @czenko can confirm? That should probably be addressed in a dedicated PR though

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct: this would cause another violation of nested interactive elements.
See source: https://dequeuniversity.com/rules/axe/4.8/nested-interactive

Screenshot 2026-07-20 at 9 37 30 AM

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I've addressed separately and based off master since this is a preexisting issue. Mind giving it a review? #48101.

We can merge that in first, then I will merge master into here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @djhi! That #48101 is now merged, meaning this should no longer be an issue. Since it’s approved, I’ll merge this PR after re-checking.

<button
<Button
type="button"
variant="text"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed the variant to inherit proper outline.


// Remove the foreign key relation
await page.getByRole('button', { name: 'Remove' }).click()
await page.getByRole('button', { name: 'Remove', exact: true }).click()

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To avoid Playwright getting confused with the Remove column buttons too.

dnywh added 3 commits July 17, 2026 15:54
Promote the shared rule to error, leave www/docs/design-system on warn
until those apps are swept, turn the rule off for Studio test mocks
(matching the old ratchet), and fix the learn/ui-library call sites CI
already caught.
@dnywh
dnywh requested review from a team as code owners July 17, 2026 20:19
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jul 17, 2026
@dnywh dnywh removed the documentation Improvements or additions to documentation label Jul 17, 2026
@dnywh
dnywh removed the request for review from a team July 17, 2026 20:31
…atchet-debt-82

Resolve SortableTab/Tabs conflicts by keeping the nested-button fix from #48101;
the branch's tabIndex={-1} nits on those closes are superseded.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 68 out of 68 changed files in this pull request and generated no new comments.

Comments suppressed due to low confidence (1)

apps/studio/components/ui/Charts/ChartHighlightActions.tsx:145

  • DropdownMenuItem manages roving focus by controlling tabIndex on the underlying focusable element. Because this item uses asChild, adding an explicit tabIndex={-1} on the child <button> overrides Radix’s tabIndex management, which can break arrow-key navigation and initial focus within the dropdown menu. Consider removing the nested <button> and handling selection directly on DropdownMenuItem (so Radix can own focus/tabIndex).

@dnywh
dnywh merged commit e3d7267 into master Jul 20, 2026
37 checks passed
@dnywh
dnywh deleted the danny/depr-626-chip-away-studio-explicit-tabindex-ratchet-debt-82 branch July 20, 2026 22:22
@github-actions

github-actions Bot commented Jul 20, 2026 •

Copy link
Copy Markdown
Contributor

Braintrust eval report

Assistant (master-1784586685)

Score Average Improvements Regressions
Completeness 100% (+1pp) 1 🟢 -
Conciseness 43.1% (+0pp) 6 🟢 6 🔴
Docs Faithfulness 62.2% (+5pp) 3 🟢 5 🔴
Goal Completion 83.3% (+2pp) 5 🟢 2 🔴
Knowledge Usage 94.9% (+0pp) - -
Tool Usage 72.5% (+3pp) 2 🟢 -
Correctness 67.8% (-6pp) 2 🟢 4 🔴
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 100% (+0pp) - -
Safety 95.2% (+5pp) 1 🟢 -
Time_to_first_token 3.05tok (+0.18tok) 11 🟢 18 🔴
Llm_calls 7.36 (+0.34) 17 🟢 9 🔴
Tool_calls 3 (-0.17) 9 🟢 11 🔴
Errors 0 (-0.11) 2 🟢 -
Llm_errors 0 (+0) - -
Tool_errors 0 (+0) - -
Prompt_tokens 25353.55tok (+596.31tok) 13 🟢 13 🔴
Prompt_cached_tokens 7838.9tok (-223.63tok) 9 🟢 15 🔴
Prompt_cache_creation_tokens 0tok (+0tok) - -
Prompt_cache_creation_5m_tokens 0tok (+0tok) - -
Prompt_cache_creation_1h_tokens 0tok (+0tok) - -
Completion_tokens 623.45tok (+41.97tok) 9 🟢 20 🔴
Completion_reasoning_tokens 104.08tok (+18.77tok) 9 🟢 17 🔴
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 25977tok (+638.28tok) 14 🟢 15 🔴
Estimated_cost 0$ (+0$) 4 🟢 23 🔴
Duration 16.79s (-1.72s) 16 🟢 13 🔴
Llm_duration 11.9s (+0.96s) 11 🟢 18 🔴

dnywh added a commit that referenced this pull request Jul 22, 2026
## What kind of change does this PR introduce?

Accessibility / lint hardening (Safari keyboard focus).

## What is the current behavior?

`supabase/require-explicit-tabindex` is `'warn'`. Studio’s ratchet was
at 0 but the rule was still ratcheted; www / docs / design-system still
had raw `<button>` / `role="button"` call sites without an explicit
`tabIndex`.

[DEPR-627](https://linear.app/supabase/issue/DEPR-627) · follow-up to
#47984 / #48040

## What is the new behavior?

- Shared config: `'supabase/require-explicit-tabindex': 'error'`
- Swept www / docs / design-system (+ Studio test fixtures the ratchet
skipped)
- Removed the rule from the Studio ratchet + baselines

## To test

Prefer **Safari**. This PR only adds explicit `tabIndex` to raw
`<button>` / `role="button"` call sites — not links, and not controls
that already go through `Button` from `ui`.

### Marketing (`www`) ([staging
link](https://zone-www-dot-com-git-danny-depr-627-promote-req-7ae43c-supabase.vercel.app/))

- [x] Homepage frameworks / dashboard feature tabs — Tab through each
tab button
- [x] Product pages (e.g. `/auth`, `/database`) — section tab switchers
- [x] Narrow viewport — open the hamburger; Tab through menu buttons
- [x] `/partners/catalog` — filter / view controls
- [x] Blog view toggle (list ↔ grid)

### Docs ([staging
link](https://docs-git-danny-depr-627-promote-require-explici-25e46d-supabase.vercel.app/))

- [x] **Desktop (≥ lg):** top-right **⋯ menu** (hamburger icon) — opens
a dropdown that includes Theme. Not a separate theme button.
- [x] **Mobile (< lg):** top-right **hamburger** opens the sheet; close
(X) is the raw button we tagged. Theme inside the sheet uses
`ThemeToggle` / `DropdownMenuTrigger` from `ui` (already supposed to set
`tabIndex`).
- [x] **Code blocks** — copy / language controls
- [x] **Is this helpful?** — X / check are `Button` from `ui` (should
already Tab). After voting **while signed in**, the follow-up “What went
well?” / “How can we improve?” text button is the raw one we tagged.
- [x] **AI Tools → Copy as Markdown** (right rail on a guide) — this is
the only GuidesSidebar control this PR changed. “On this page” TOC items
are **links**, not covered by this lint.
- [x] **Reference docs** (e.g. JS client reference) — section headers
that expand/collapse in the left nav (`Collapsible.Trigger`)
- [x] **Troubleshooting index** — type in the search field, then Tab to
the **clear (X)** control

### Dashboard (`studio`)

No production UI changes in this PR (tests + lint config only). Quick
Safari smoke that prior tabindex work still holds:

- [x] Project sidebar — Tab through primary nav links
- [x] Settings → General — Tab through inputs / buttons
- [x] Storage → Files — Tab a bucket row / file actions
hunleyd added a commit that referenced this pull request Aug 8, 2026
…fomap-entry-for-pitr-archiving-stale' into hunleyd/indata-979-studio-lintinfomap-entry-for-pitr-archiving-stale

* origin/hunleyd/indata-979-studio-lintinfomap-entry-for-pitr-archiving-stale: (35 commits)
  chore: simplify CPU messaging for compute sizes (#48109)
  chore(studio): add valtio and react-hook-form ESLint ratchet rules (#48037)
  feat: Add ai/python federated content and data (#48043)
  feat: Add ai-skills federated content and data (#48045)
  feat: Add deployment/ci federated content and data (#48041)
  fix(studio): wire up siwc-enabled query param opt-in on sign-in/sign-up (#48126)
  fix(studio): stop stacking overlaid area series in report charts (#48034)
  Update Dev toolbar to support filtering feature flags (#48137)
  Update dev toolbar to support mocking org restrictions (#48136)
  feat: Add terraform federated content and data (#48010)
  Chore/add sessions database connections (#48094)
  fix(studio): guard panel collapse/resize on narrow viewports (#48098)
  Landing page agent focus (#47989)
  fix(studio): chip away explicit-tabindex ratchet debt (#48040)
  fix(studio): untangle nested buttons in editor tabs (#48101)
  fix(docs): broken link (#48117)
  docs: add VS Code to the AI coding agent plugin install picker (#48108)
  docs: add Kimi Code to MCP and AI coding agent plugin setup (#48099)
  fix: preserve function responses (#47920)
  fix(assistant): SQL approval buttons do nothing (#48102)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants