From dfba53259ab86f15bb635df9425d89ef52563d55 Mon Sep 17 00:00:00 2001 From: Addy Osmani Date: Sun, 15 Feb 2026 14:28:33 -0800 Subject: [PATCH] add references and examples --- references/accessibility-checklist.md | 151 +++++++++++++++++ references/performance-checklist.md | 105 ++++++++++++ references/security-checklist.md | 121 ++++++++++++++ references/testing-patterns.md | 225 ++++++++++++++++++++++++++ 4 files changed, 602 insertions(+) create mode 100644 references/accessibility-checklist.md create mode 100644 references/performance-checklist.md create mode 100644 references/security-checklist.md create mode 100644 references/testing-patterns.md diff --git a/references/accessibility-checklist.md b/references/accessibility-checklist.md new file mode 100644 index 00000000..3e9ded0a --- /dev/null +++ b/references/accessibility-checklist.md @@ -0,0 +1,151 @@ +# Accessibility Checklist + +Quick reference for WCAG 2.1 AA compliance. Use alongside the `frontend-ui-engineering` skill. + +## Essential Checks + +### Keyboard Navigation +- [ ] All interactive elements focusable via Tab key +- [ ] Focus order follows visual/logical order +- [ ] Focus is visible (outline/ring on focused elements) +- [ ] Custom widgets have keyboard support (Enter to activate, Escape to close) +- [ ] No keyboard traps (user can always Tab away from a component) +- [ ] Skip-to-content link at top of page +- [ ] Modals trap focus while open, return focus on close + +### Screen Readers +- [ ] All images have `alt` text (or `alt=""` for decorative images) +- [ ] All form inputs have associated labels (`