Skip to content

Commit 45c9b2f

Browse files
committed
revert xy_chart figure attributes
1 parent 7de6486 commit 45c9b2f

File tree

1 file changed

+1
-6
lines changed
  • packages/charts/src/chart_types/xy_chart/renderer/canvas

1 file changed

+1
-6
lines changed

packages/charts/src/chart_types/xy_chart/renderer/canvas/xy_chart.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,7 @@ class XYChartComponent extends React.Component<XYChartProps> {
166166

167167
return (
168168
<>
169-
<figure
170-
aria-labelledby={a11ySettings.labelId}
171-
aria-describedby={`${a11ySettings.descriptionId}-summary ${a11ySettings.descriptionId}`}
172-
// eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex
173-
tabIndex={0} // Make chart container keyboard focusable for screen readers
174-
>
169+
<figure aria-labelledby={a11ySettings.labelId} aria-describedby={a11ySettings.descriptionId}>
175170
<canvas
176171
dir={isRTL ? 'rtl' : 'ltr'}
177172
ref={forwardCanvasRef}

0 commit comments

Comments
 (0)