mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-01 22:45:02 +01:00
test(design-lint): the eyebrow-pass and tailwind-pass fixtures carry a skip link, main id and aria-current so the copy tier passes them too; waiver fixture gets a meta description
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
22d39449d1
commit
9be95cf33e
3 files changed
+7
-2
No files matched your search
@@ -44,6 +44,8 @@ h1, h2, h3, h4 { font-family: var(--font-display); text-wrap: balance; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<a href="#main">Skip to content</a>
|
||||
<main id="main">
|
||||
|
||||
<!-- 1 · figcaption. Identifier, and it names something that is present. -->
|
||||
<figure>
|
||||
@@ -130,5 +132,6 @@ h1, h2, h3, h4 { font-family: var(--font-display); text-wrap: balance; }
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
+3
-2
@@ -11,16 +11,17 @@
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body class="overflow-x-clip bg-paper font-body text-ink selection:bg-accent selection:text-accent-ink">
|
||||
<a href="#main" class="sr-only focus-visible:not-sr-only focus-visible:outline-2 focus-visible:outline-accent">Skip to content</a>
|
||||
|
||||
<header class="mx-auto flex max-w-6xl items-center justify-between px-6 py-5">
|
||||
<a href="/" class="font-display text-lg focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent">Fieldnote</a>
|
||||
<a href="/" aria-current="page" class="font-display text-lg focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent">Fieldnote</a>
|
||||
<nav aria-label="Main" class="flex gap-6">
|
||||
<a href="/pricing" class="text-sm text-muted hover:text-ink focus-visible:outline-2 focus-visible:outline-accent">Pricing</a>
|
||||
<a href="/docs" class="text-sm text-muted hover:text-ink focus-visible:outline-2 focus-visible:outline-accent">Docs</a>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<main id="main">
|
||||
<section class="mx-auto grid min-h-dvh max-w-6xl items-center gap-12 px-6 md:grid-cols-2">
|
||||
<div>
|
||||
<h1 class="font-display text-5xl">Logbooks your crew will keep</h1>
|
||||
|
||||
+1
@@ -14,6 +14,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Waiver fixture</title>
|
||||
<meta name="description" content="Seven waivers claimed on a black-paper manifesto page; five honoured, two refused.">
|
||||
<style>
|
||||
/* gstack-lint-disable low-contrast: the manifesto is printed white on black */
|
||||
/* gstack-lint-disable absolute-surface-token: the manifesto stage is printed on black paper */
|
||||
|
||||
Reference in new issue
Block a user