Add jest-axe baseline accessibility tests for core components
While going through the codebase I noticed packages/react already has Jest and @testing-library/react set up but there are no accessibility checks anywhere. Since EmbeddedChat gets embedded into third-party apps, any a11y issues in core components become the host app's problem too. jest-axe slots in cleanly on top of the existing setup — no major config changes needed. What I'm proposing:
Add jest-axe as a dev dependency in packages/react Extend Jest with toHaveNoViolations Write baseline tests for ChatInput, MessageList, and Sidebar Hook into existing CI so it runs on every PR
I already have this working locally. Happy to open a draft PR if this looks good.
@Spiral-Memory just wanted to add the reason I think this is worth doing now is that a11y issues are hard to spot in review, a missing label or broken tab order doesn't break anything visually so it just slips through. CI check would catch it automatically. happy to open a draft PR if you think it is correct.
Hi @Spiral-Memory @KshitijShukla30 — is this still being worked on? It's been open a while with no PR. If it's stalled I'd be happy to pick it up (or expand it — a11y coverage for the remaining core components too). Otherwise happy to help review.
As part of accessibility and WCAG compliance checks, @Aryan-Verma-999 might be adding it for GSoC.