Skip to content

Commit

Permalink
fix legend overflow-indication-text role
Browse files Browse the repository at this point in the history
  • Loading branch information
krkshitij committed Sep 12, 2022
1 parent 8ebc00a commit 8ea1feb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ export class LegendsBase extends React.Component<ILegendsProps, ILegendState> {
className={classNames.overflowIndicationTextStyle}
ref={(rootElem: HTMLDivElement) => (this._hoverCardRef = rootElem)}
{...(allowFocusOnLegends && {
role: 'link',
role: 'button',
'aria-expanded': this.state.isHoverCardVisible,
'aria-label': `${items.length} ${overflowString}`,
})}
Expand Down

0 comments on commit 8ea1feb

Please sign in to comment.