currently, we have the ability to label chart components, but not to add long-text descriptions to them.
the solution would be to add <desc> elements alongside the already existing <text> elements to the SVG, and then fill them with passed in data.
the descriptive data would most likely be the texts that are currently rendered on the tool tips.
this should help in making our charts more accessible for visually impaired users.
currently, we have the ability to label chart components, but not to add long-text descriptions to them.
the solution would be to add
<desc>
elements alongside the already existing<text>
elements to the SVG, and then fill them with passed in data. the descriptive data would most likely be the texts that are currently rendered on the tool tips.this should help in making our charts more accessible for visually impaired users.
see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/desc