Add aria-label and title attributes to local settings navigation items (#1949)
This commit is contained in:
parent
2fa8bd21e2
commit
8ec48c486c
1 changed files with 4 additions and 0 deletions
|
@ -50,6 +50,8 @@ export default class LocalSettingsPage extends React.PureComponent {
|
||||||
<a
|
<a
|
||||||
href={href}
|
href={href}
|
||||||
className={finalClassName}
|
className={finalClassName}
|
||||||
|
title={title}
|
||||||
|
aria-label={title}
|
||||||
>
|
>
|
||||||
{iconElem} <span>{title}</span>
|
{iconElem} <span>{title}</span>
|
||||||
</a>
|
</a>
|
||||||
|
@ -60,6 +62,8 @@ export default class LocalSettingsPage extends React.PureComponent {
|
||||||
role='button'
|
role='button'
|
||||||
tabIndex='0'
|
tabIndex='0'
|
||||||
className={finalClassName}
|
className={finalClassName}
|
||||||
|
title={title}
|
||||||
|
aria-label={title}
|
||||||
>
|
>
|
||||||
{iconElem} <span>{title}</span>
|
{iconElem} <span>{title}</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in a new issue