mirror of
https://github.com/grafana/grafana.git
synced 2024-11-24 09:50:29 -06:00
Navigation: add aria-label to NavBarToggle (#47434)
* add aria-label to NavBarToggle * use open/close instead
This commit is contained in:
parent
af71e77e6c
commit
d95782845d
@ -16,6 +16,7 @@ export const NavBarToggle = ({ className, isExpanded, onClick }: Props) => {
|
||||
|
||||
return (
|
||||
<IconButton
|
||||
aria-label={isExpanded ? 'Close navigation menu' : 'Open navigation menu'}
|
||||
name={isExpanded ? 'angle-left' : 'angle-right'}
|
||||
className={classnames(className, styles.icon)}
|
||||
size="xl"
|
||||
|
Loading…
Reference in New Issue
Block a user