fixed incorrect notification console expand collaped screenreader issue (#1095)

This commit is contained in:
Sunil Kumar Yadav
2021-09-21 21:34:47 +05:30
committed by GitHub
parent 6a9a0156a3
commit a8150af269
2 changed files with 3 additions and 3 deletions

View File

@@ -129,7 +129,7 @@ export class NotificationConsoleComponent extends React.Component<
className="expandCollapseButton"
role="button"
tabIndex={0}
aria-label={"console button" + (this.props.isConsoleExpanded ? " collapsed" : " expanded")}
aria-label={"console button" + (this.props.isConsoleExpanded ? " expanded" : " collapsed")}
aria-expanded={!this.props.isConsoleExpanded}
>
<img