- keyboard/screen-reader users had to tab through the whole topbar before reaching page content (WCAG 2.4.1 Bypass Blocks gap) - add a skip link as the first focusable element: hidden until focused, slides in as a cyan pill, and on activation focuses the visible content container (works with the persistent-home structure, and avoids the hash-route conflict by focusing programmatically instead of via href) - verified live: Tab focuses it, it becomes visible, activation focuses content
20 lines
417 B
JSON
20 lines
417 B
JSON
{
|
|
"name": "amerc-site",
|
|
"version": "0.72.0-skiplink",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --host 0.0.0.0",
|
|
"build": "vite build",
|
|
"preview": "vite preview --host 0.0.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@vitejs/plugin-react": "^5.0.0",
|
|
"lucide-react": "^0.468.0",
|
|
"marked": "^14.1.4",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"vite": "^7.0.0"
|
|
}
|
|
}
|