From ab401cf893477cdce268661e7f8d7697f19794ab Mon Sep 17 00:00:00 2001 From: Matt Hesketh Date: Wed, 11 Feb 2026 17:15:36 +0000 Subject: [PATCH 1/2] feat(compiler): add compile-time accessibility (a11y) checking MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a post-parse a11y analysis pass that checks template ASTs for common accessibility violations and emits warnings. Integrated into the compile() pipeline — warnings are returned in CompileResult.a11y. 10 rules implemented: - img-alt: must have alt attribute - click-keyboard: non-interactive elements with @click need keyboard support - anchor-content: must have content or aria-label - form-label: form elements need id/aria-label/aria-labelledby - no-distracting: / are forbidden - heading-order: heading levels must not skip - aria-role: role values must be valid WAI-ARIA 1.2 - no-positive-tabindex: tabindex should not be positive - media-captions: