diff --git a/.github/instructions/frontend.instructions.md b/.github/instructions/frontend.instructions.md index 0ba794ab..e5b4501e 100644 --- a/.github/instructions/frontend.instructions.md +++ b/.github/instructions/frontend.instructions.md @@ -86,12 +86,57 @@ These instructions apply to all files in the `frontend/` directory (templates, C ``` -### Accessibility -- Use semantic HTML elements (`nav`, `main`, `article`, `section`) -- Include `alt` text for images -- Use proper heading hierarchy (h1 → h2 → h3) -- Add ARIA labels when needed -- Ensure keyboard navigation works +### Accessibility (WCAG 2.1 Level AA Required) + +DocuElevate targets **WCAG 2.1 Level AA** compliance. Every template change **must** follow these rules. +For the full guide with examples, see `docs/AccessibilityGuide.md`. + +#### Semantic HTML (WCAG 1.3.1) +- Use semantic elements: `