Skip to content

Commit

Permalink
including a random id in the aria-label does not help screenreader us…
Browse files Browse the repository at this point in the history
…ers (#1729)
  • Loading branch information
kadiryazgan committed Feb 2, 2024
1 parent 746fb9f commit 162e410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/components/axes/toolbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class Toolbar extends Component {
render(animate = true) {
const container = this.getComponentContainer()
.attr('role', 'toolbar')
.attr('aria-label', `chart-${this.services.domUtils.getChartID()} toolbar`)
.attr('aria-label', `chart toolbar`)

const isDataLoading = getProperty(this.getOptions(), 'data', 'loading')

Expand Down

0 comments on commit 162e410

Please sign in to comment.