From: Danilo M. Date: Thu, 16 Apr 2026 15:10:28 +0000 (+0200) Subject: docs: add Week 5 implementation plan (24 tasks, detailed steps) X-Git-Tag: release_22042026-1342~178 X-Git-Url: https://git.danix.xyz/?a=commitdiff_plain;h=07abb06fd13b1cf1b7132fb5b724ef1bfa97910e;p=danix.xyz-2.git docs: add Week 5 implementation plan (24 tasks, detailed steps) --- diff --git a/docs/superpowers/plans/2026-04-16-week5-animations-a11y.md b/docs/superpowers/plans/2026-04-16-week5-animations-a11y.md new file mode 100644 index 0000000..e78123c --- /dev/null +++ b/docs/superpowers/plans/2026-04-16-week5-animations-a11y.md @@ -0,0 +1,3580 @@ +# Week 5 Implementation Plan: Animations & Focused A11y Audit + +> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking. + +**Goal:** Enhance the danix.xyz theme with smooth, professional entrance animations and focused accessibility improvements (focus management, keyboard navigation, ARIA basics). + +**Architecture:** Week 5 builds on the Week 4 foundation (forms, modals, toasts) by adding CSS animations (keyframes + classes), improving focus indicators, ensuring keyboard-only navigation works across all interactive elements, and adding ARIA labels where needed. No new dependencies, no refactoring of Weeks 1-4 work — pure enhancement. + +**Tech Stack:** Hugo, Tailwind CSS, Alpine.js, vanilla CSS (keyframes, transitions), HTML5 semantic elements + ARIA attributes. + +--- + +## File Structure + +Before implementing, here's what will be created/modified: + +### Files to Modify + +**`themes/danix-xyz-hacker/assets/css/main.css`** (~1071 lines → ~1300+ lines) +- Add `@keyframes fadeIn`, `slideUp`, `modalSlideUp` (refined), `spin` (refined) +- Add utility classes: `.animate-fade-in`, `.animate-slide-up`, `.animate-spin-loader` +- Add `:focus-visible` global style +- Add hover/focus transitions for buttons, links, form inputs +- Add `@media (prefers-reduced-motion: reduce)` wrapper for all animations + +**`themes/danix-xyz-hacker/layouts/partials/form-components.html`** +- Add `aria-label` to icon-only buttons (close modals, etc.) +- Verify all form inputs have associated `