Provides utilities to convert Frappe Charts data and SVG structure into
MAIDR's accessible format for audio sonification, text descriptions, braille
output, and keyboard navigation.
Remarks
Frappe Charts renders its SVG synchronously when new frappe.Chart(...) is
constructed. The adapter must be called after the SVG exists — typically
inside a requestAnimationFrame callback that checks for svg.frappe-chart.
The selectors target Frappe Charts v1.6.2; verify SVG class names if you
upgrade Frappe.
Multiple charts laid out in one wrapper element can be grouped into a single
multi-panel MAIDR figure with createMaidrFromFrappeCharts — set the
maidr attribute on the wrapper, not the individual panel containers.
Frappe Charts adapter for MAIDR.
Provides utilities to convert Frappe Charts data and SVG structure into MAIDR's accessible format for audio sonification, text descriptions, braille output, and keyboard navigation.
Remarks
Frappe Charts renders its SVG synchronously when
new frappe.Chart(...)is constructed. The adapter must be called after the SVG exists — typically inside arequestAnimationFramecallback that checks forsvg.frappe-chart.The selectors target Frappe Charts v1.6.2; verify SVG class names if you upgrade Frappe.
Multiple charts laid out in one wrapper element can be grouped into a single multi-panel MAIDR figure with createMaidrFromFrappeCharts — set the
maidrattribute on the wrapper, not the individual panel containers.Example