What AI Gets Wrong About the Front End, and Why You Still Need to Know
AI coding assistants can produce a visually convincing React carousel that fails basic keyboard accessibility. A div with an onClick handler looks right in a demo but sits outside the Tab sequence and has no native button semantics. The fix uses real button elements with Enter and Space support, keeps focus on the activated control, and announces changes via a role='status' message. The piece recommends writing explicit acceptance criteria, like keyboard and screen reader behavior, into AI prompts and running manual keyboard tests afterward.



