Website: underline the demo-note link, 480 px WebP variant for phones, ?v=19
Lighthouse desktop flagged the one in-text link that relied on colour alone; the hero and rail images gain a 480w candidate so a 2× phone no longer downloads the 600w file.
This commit is contained in:
1 parent
975c9f440b
commit
d8d7257d35
8 files changed
+22
-20
No files matched your search
@@ -800,6 +800,8 @@ table.cfg td:first-child { white-space: nowrap; width: 1%; padding-right: 26px;
|
||||
font-weight: 700; text-decoration: none;
|
||||
}
|
||||
.skip:focus { top: 16px; outline: 2px solid var(--fg); outline-offset: 2px; }
|
||||
/* In-text links must not rely on colour alone (WCAG 1.4.1). */
|
||||
.demo-note a { text-decoration: underline; text-underline-offset: 3px; }
|
||||
|
||||
/* ------------------------------------------------------------- scroll reveal
|
||||
Only armed when JS is running, so the page is fully visible without it. */
|
||||
|
||||
Reference in new issue
Block a user