From 084d9cb22091052a3170d324669563dacbfe9439 Mon Sep 17 00:00:00 2001 From: melloware Date: Sat, 28 Jan 2023 10:07:51 -0500 Subject: [PATCH] Fix #3892: Charts add accessibility to canvas --- api-generator/components/chart.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/api-generator/components/chart.js b/api-generator/components/chart.js index 76c2c7ae49..121ea9db1c 100644 --- a/api-generator/components/chart.js +++ b/api-generator/components/chart.js @@ -52,6 +52,12 @@ const ChartProps = [ type: 'string', default: 'null', description: 'Style class of the element.' + }, + { + name: 'ariaLabel', + type: 'string', + default: 'options.plugins.title.text', + description: ' ARIA label for the chart canvas. Defaults to options.plugins.title.text if available.' } ];