DEV Community

Discussion on: Some libraries you can use with Vanilla JS

Collapse
 
ashleyjsheridan profile image
Ashley Sheridan

I'd always recommend against Chart.js just because it produces an innaccessable mess. Charts built using HTML5 canvas are problematic anyway, just because they only ever expose a single DOM node which makes it impossible to provide a proper alternative to screen readers. Chart.js goes further though, and just doesn't provide anything as alternative text.

Effectively, it's just giving a big middle finger to anyone who's relying on a screen reader to browse the web.