Give the shell one header, a skip link, and a cookie-aware first paint.

Breakpoint clones were still in the tab order, marketing always painted Log in, and at 430px the logo overlay covered Use cases and Learn.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
adilallo
2026-09-09 17:12:59 -06:00
co-authored by Cursor
parent aecb890cc8
commit 5242f8c6bb
22 changed files with 309 additions and 320 deletions
+14
View File
@@ -0,0 +1,14 @@
import "@testing-library/jest-dom/vitest";
import { describe, expect, it } from "vitest";
import SkipToContent from "../../app/components/navigation/SkipToContent";
import { MAIN_CONTENT_ID } from "../../lib/mainContent";
import { renderWithProviders as render, screen } from "../utils/test-utils";
describe("SkipToContent", () => {
it("targets the main landmark", () => {
render(<SkipToContent />);
const link = screen.getByRole("link", { name: "Skip to content" });
expect(link).toHaveAttribute("href", `#${MAIN_CONTENT_ID}`);
expect(link).toHaveClass("skip-to-content");
});
});