Skip to content

Commit b56c7f3

Browse files
committed
Add valid theme colors to WCAG 2.2 a11y theme
1 parent f235875 commit b56c7f3

6 files changed

Lines changed: 192 additions & 364 deletions

File tree

‎_TODO.md‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,9 @@ View Lighthouse report:
77

88
xdg-open ".cache/playwright/lighthouse-reports/run Lighthouse audit on homepage-desktop-1774621624366.html"
99

10-
## Performance
11-
12-
Implement mitigations in test/e2e/specs/07-performance/PERFORMANCE.md
13-
1410
## Print
1511

16-
- Improve print layout by hiding header and footer for articles, add tracking
12+
- Improve print layout by hiding header and footer for articles
1713

1814
```typescript
1915
window.addEventListener('beforeprint', (event) => {
@@ -47,7 +43,7 @@ if (window.matchMedia) {
4743
}
4844
```
4945

50-
- Add a QR code at the bottom of printed pages so it's easier for someone to navigate to from a printed page.
46+
- Add a QR code at the bottom of printed pages so it's easier for someone to navigate to from a printed page. npm install qr-code-styling is added as a package.
5147

5248
- Need a layout alternative to Markup that formats for print. It needs to handle TOC differently as a full-width page. Need a fixed header format that adds article title, subtitle, and date.
5349

0 commit comments

Comments
 (0)