diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-11-16 20:56:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-16 20:56:06 +0100 |
commit | 23ea0e75080e427e5ec6be08f7fa75fc8508cd94 (patch) | |
tree | f060efbbcd08945990c9982a5ab3aefd1e4e468d /app | |
parent | 8c56441b4a52f23d4793f35fdf27a815cced0d61 (diff) |
Add aria-label and title attributes to local settings navigation items (#1949)
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/flavours/glitch/features/local_settings/navigation/item/index.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/local_settings/navigation/item/index.js b/app/javascript/flavours/glitch/features/local_settings/navigation/item/index.js index 4dec7d154..739c5ebae 100644 --- a/app/javascript/flavours/glitch/features/local_settings/navigation/item/index.js +++ b/app/javascript/flavours/glitch/features/local_settings/navigation/item/index.js @@ -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> |