From 3e8fa55b2e038d922d0c983eedc80986aad855c8 Mon Sep 17 00:00:00 2001 From: kyybo <106741733+kyybo@users.noreply.github.com> Date: Thu, 5 Sep 2024 13:28:39 +0200 Subject: [PATCH] Fix #7118 : Updating Chart accessibility documentation Fix #7118 : Updating Chart accessibility documentation The documentation mentions a 'canvasProps' property which is not available in PrimeReact. To define aria roles and properties, the 'pt' property must be used insteed. --- components/doc/chart/accessibilitydoc.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/doc/chart/accessibilitydoc.js b/components/doc/chart/accessibilitydoc.js index db4391b50d..a8769f49da 100644 --- a/components/doc/chart/accessibilitydoc.js +++ b/components/doc/chart/accessibilitydoc.js @@ -4,7 +4,7 @@ import { DocSectionText } from '@/components/doc/common/docsectiontext'; export function AccessibilityDoc() { const code = { basic: ` - + @@ -20,8 +20,8 @@ export function AccessibilityDoc() { Chart.js accessibility {' '} - guide for more information. The canvas element can be customized with canvasProps property to define aria roles and properties, in addition any content inside the component is directly passed as a child of the canvas to be able - to provide fallback content like a table. + guide for more information. The canvas element can be customized with pt property to define aria roles and properties, in addition any content inside the component is directly passed as a child of the canvas to be able to + provide fallback content like a table.