·8 min read
Building Accessible React Components
A deep dive into creating React components that work for everyone, including keyboard navigation and screen reader support.
ReactAccessibilityFrontend
Introduction
My AI workflow is evolving with every project. I will try to keep this document up to date with the current workflow that I'm using.
Initial Project Setup
I still find that I need to setup the initial project using something like npx create-next-app@latest or starting with v0.dev. During this process I will get the project running on my local machine, connected to my GitHub repository, connected to Supabase, and deployed to Vercel with a custom domain. At this point all auth functionality should be working both locally and on my custom domain.
Configuring the Project AI files
- Add AI files (claude.md, etc.)
- Setup automated testing (Vitest, Playwright)
- Create manual requirements.md file
- Tell AI to ask questions to refine file.
- Convert file in prd.json file
- Use /ralph-once script or prompt
- Occasionally clean up e2e tests to improve efficiency
- Adding/modifying features overtime with the /refine-prd prompt