Skip to content

Commit

Permalink
fix aria label for screen reader on scatter plot color axis picker (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
imatiach-msft authored Dec 6, 2023
1 parent d473c30 commit fe02419
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,15 @@ export class SidePanel extends React.Component<
this.props.chartProps.colorAxis.property
].label
}
ariaLabel={
this.props.chartProps.colorAxis
? `${localization.Interpret.DatasetExplorer.colorValue} - ${
this.props.jointDataset.metaDict[
this.props.chartProps.colorAxis.property
].label
}`
: localization.Interpret.DatasetExplorer.colorValue
}
/>
<div className={classNames.legendAndText}>
{colorSeries?.length && (
Expand Down

0 comments on commit fe02419

Please sign in to comment.