Skip to content

Commit 3e93aa4

Browse files
authored
Merge branch 'main' into feat/trim-bar-labels
2 parents 647d820 + 8d96db0 commit 3e93aa4

4 files changed

Lines changed: 23 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# [71.6.0](https://github.com/elastic/elastic-charts/compare/v71.5.2...v71.6.0) (2026-05-11)
2+
3+
4+
### Features
5+
6+
* **a11y:** add graphics-document role to charts ([#2831](https://github.com/elastic/elastic-charts/issues/2831)) ([1dee178](https://github.com/elastic/elastic-charts/commit/1dee1788ca184b2d2a29ea1897542daf1e6281d8))
7+
8+
## [71.5.2](https://github.com/elastic/elastic-charts/compare/v71.5.1...v71.5.2) (2026-05-06)
9+
10+
11+
### Bug Fixes
12+
13+
* **a11y:** give role="img" to interactive annotation line marker ([#2830](https://github.com/elastic/elastic-charts/issues/2830)) ([b124d5f](https://github.com/elastic/elastic-charts/commit/b124d5f4ab830ded37b7b1cbbac3097e115a0de5))
14+
115
## [71.5.1](https://github.com/elastic/elastic-charts/compare/v71.5.0...v71.5.1) (2026-04-30)
216

317

packages/charts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@elastic/charts",
33
"description": "Elastic-Charts data visualization library",
4-
"version": "71.5.1",
4+
"version": "71.6.0",
55
"author": "Elastic DataVis",
66
"license": "SEE LICENSE IN LICENSE.txt",
77
"main": "dist/index.js",

packages/charts/src/chart_types/xy_chart/renderer/dom/annotations/line_marker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export function LineMarker({
188188
// but they still need tabIndex={0} so keyboard users can focus the marker for tooltip / hover state
189189
// and Escape to dismiss.
190190
// eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex
191-
<div {...elementProps} tabIndex={0}>
191+
<div {...elementProps} tabIndex={0} role="graphics-symbol">
192192
<div ref={iconRef} className="echAnnotation__icon">
193193
{renderWithProps(icon, datum)}
194194
</div>

packages/charts/src/components/chart.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,13 @@ export class Chart extends React.Component<ChartProps, ChartState> {
174174

175175
return (
176176
<Provider store={this.chartStore}>
177-
<div className="echChart" style={containerSizeStyle} data-testid="echChart">
177+
<div
178+
className="echChart"
179+
style={containerSizeStyle}
180+
data-testid="echChart"
181+
role="graphics-document"
182+
aria-roledescription="visualization"
183+
>
178184
<Titles
179185
displayTitles={this.state.displayTitles}
180186
title={this.props.title}

0 commit comments

Comments
 (0)