Define tooltips for MenuButtons.
<MenuButton> is not from us, so the automatic tooltip from the previous commit does not apply here.
This commit is contained in:
parent
fa219af5aa
commit
4643eb96cc
1 changed files with 3 additions and 0 deletions
|
@ -164,6 +164,7 @@ const Header = (props: Props) => {
|
|||
<Menu>
|
||||
<MenuButton
|
||||
aria-label={__('Publish a file, or create a channel')}
|
||||
title={__('Publish a file, or create a channel')}
|
||||
className="header__navigation-item menu__title header__navigation-item--icon"
|
||||
>
|
||||
<Icon size={18} icon={ICONS.PUBLISH} aria-hidden />
|
||||
|
@ -183,6 +184,7 @@ const Header = (props: Props) => {
|
|||
<Menu>
|
||||
<MenuButton
|
||||
aria-label={__('Your account')}
|
||||
title={__('Your account')}
|
||||
className="header__navigation-item menu__title header__navigation-item--icon"
|
||||
>
|
||||
<Icon size={18} icon={ICONS.ACCOUNT} aria-hidden />
|
||||
|
@ -236,6 +238,7 @@ const Header = (props: Props) => {
|
|||
<Menu>
|
||||
<MenuButton
|
||||
aria-label={__('Settings')}
|
||||
title={__('Settings')}
|
||||
className="header__navigation-item menu__title header__navigation-item--icon"
|
||||
>
|
||||
<Icon size={18} icon={ICONS.SETTINGS} aria-hidden />
|
||||
|
|
Loading…
Add table
Reference in a new issue