diff --git a/desktop-next/src/features/design-system/ui/GlassPage.tsx b/desktop-next/src/features/design-system/ui/GlassPage.tsx index 4eaf8b2d81..690b14c300 100644 --- a/desktop-next/src/features/design-system/ui/GlassPage.tsx +++ b/desktop-next/src/features/design-system/ui/GlassPage.tsx @@ -18,7 +18,12 @@ function ChromePill() { {items.map((label) => ( - + {label} surface selected in this material preview. ))} diff --git a/desktop-next/tests/layout-refinements.spec.ts b/desktop-next/tests/layout-refinements.spec.ts index 7c01ff93f4..725a8cac36 100644 --- a/desktop-next/tests/layout-refinements.spec.ts +++ b/desktop-next/tests/layout-refinements.spec.ts @@ -70,6 +70,7 @@ test("Glass navigation shares selection motion and keyboard semantics", async ({ await page.goto("/design/glass"); const tabs = page.getByRole("tablist", { name: "Glass navigation preview" }); const indicator = tabs.locator(".bui-tab-indicator"); + await expect(page.getByRole("tabpanel")).toHaveAttribute("tabindex", "-1"); await expect( tabs.getByRole("tab", { name: "Messages", exact: true }), ).toHaveAttribute("aria-selected", "true");