From 23ea0e75080e427e5ec6be08f7fa75fc8508cd94 Mon Sep 17 00:00:00 2001 From: Claire Date: Wed, 16 Nov 2022 20:56:06 +0100 Subject: [PATCH] Add aria-label and title attributes to local settings navigation items (#1949) --- .../glitch/features/local_settings/navigation/item/index.js | 4 ++++ 1 file changed, 4 insertions(+) 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 4dec7d154e..739c5ebae4 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 { {iconElem} {title} @@ -60,6 +62,8 @@ export default class LocalSettingsPage extends React.PureComponent { role='button' tabIndex='0' className={finalClassName} + title={title} + aria-label={title} > {iconElem} {title}