mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-27 10:31:36 +01:00
Add aria-label and title attributes to local settings navigation items (#1949)
This commit is contained in:
parent
8c56441b4a
commit
23ea0e7508
1 changed files with 4 additions and 0 deletions
|
@ -50,6 +50,8 @@ export default class LocalSettingsPage extends React.PureComponent {
|
|||
<a
|
||||
href={href}
|
||||
className={finalClassName}
|
||||
title={title}
|
||||
aria-label={title}
|
||||
>
|
||||
{iconElem} <span>{title}</span>
|
||||
</a>
|
||||
|
@ -60,6 +62,8 @@ export default class LocalSettingsPage extends React.PureComponent {
|
|||
role='button'
|
||||
tabIndex='0'
|
||||
className={finalClassName}
|
||||
title={title}
|
||||
aria-label={title}
|
||||
>
|
||||
{iconElem} <span>{title}</span>
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue