--- name: angular-accessibility description: Audit and fix common accessibility issues in Angular templates and Angular Material components. Use when the user mentions Lighthouse, axe, screen readers, keyboard navigation, ARIA, asks to fix a11y issues in Angular HTML templates, or after any feature, bug fix, or refactor that changed Angular templates. --- # Angular Accessibility (a11y) ## When To Activate - After any development touching Angular templates, including a new feature, bug fix, or refactor - After updating Angular Material markup, control structure, labels, dialogs, tables, forms, or navigation UI - Fixing Lighthouse, axe, or ESLint accessibility findings - Auditing Angular templates or Angular Material screens - Debugging keyboard navigation, focus order, or screen reader output - Refactoring interactive UI in Angular HTML templates ## Default Post-Development Trigger Run this skill as a final verification step whenever the implementation modified `.html` templates or materially changed rendered UI structure, even if the original task did not mention accessibility. Typical triggers: - New feature that introduces or changes template markup - Bug fix that changes form controls, buttons, tables, dialogs, drawers, or navigation - Refactor that restructures conditionals, loops, landmarks, headings, or interactive elements - Angular Material component replacement or reconfiguration affecting labels, focus, or keyboard behavior ## Hard Rules - Prefer semantic HTML first: native `