ran Lighthouse (local preview): SEO 100, a11y 93->100, best-practices 92 (its one fail was console errors from the backend-less preview — a false positive; live has 0 console errors). fixed the 3 real a11y flags: - color-contrast: '.gm-scrollcue' was 4.33:1 (needs 4.5) — lightened the 'how it works' cue colour and dropped the opacity dimming - label-in-name: the logo button's aria-label='amerc home' didn't contain its visible text — removed it so the accessible name = visible text (+ title=Home) - skip-link: the href='#content' had no target — gave the content host id='content' + tabindex=-1 so it's a valid focusable target - re-ran Lighthouse: accessibility 100, all three audits pass
19 lines
382 B
JSON
19 lines
382 B
JSON
{
|
|
"name": "amerc-site",
|
|
"version": "0.79.0-a11y2",
|
|
"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",
|
|
"marked": "^14.1.4",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"vite": "^7.0.0"
|
|
}
|
|
}
|