fix(platform): add aria-labelledby to chat interface for WCAG 2.1#1431
Conversation
…pliance Replace aria-label with aria-labelledby on the chat message history, text input, and overall chat region to create explicit semantic relationships between UI elements and their labels. Also adds the missing label to the shared chat view's message log. Closes #1415
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (6)
📝 WalkthroughWalkthroughThis PR improves WCAG 2.1 semantic accessibility compliance across the chat interface by replacing Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
aria-labelwitharia-labelledbyon the chat message history (role="log"), textarea input, and overall chat region container to establish explicit semantic relationships between UI elements and their labelsuseId()for unique, stable IDsCloses #1415
Test plan
npm run lint --workspace=@tale/platform— passes with 0 warnings/errorsSummary by CodeRabbit