From badf817ab1ab2ce9993c7c1bb030521eab6c408e Mon Sep 17 00:00:00 2001
From: Paul Clue <67766160+Paul-Clue@users.noreply.github.com>
Date: Tue, 29 Nov 2022 14:27:28 -0500
Subject: [PATCH] Add aria label to project button
---
src/l10n.json | 2 ++
src/views/explore/explore.jsx | 6 +++++-
static/svgs/tabs/projects-active.svg | 2 +-
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/l10n.json b/src/l10n.json
index d270428f7..d9c70e300 100644
--- a/src/l10n.json
+++ b/src/l10n.json
@@ -72,6 +72,8 @@
"general.download": "Download",
"general.password": "Password",
"general.press": "Press",
+ "general.projectsSelected": "Projects Selected",
+ "general.projectsNotS": "Projects",
"general.privacyPolicy": "Privacy Policy",
"general.projects": "Projects",
"general.profile": "Profile",
diff --git a/src/views/explore/explore.jsx b/src/views/explore/explore.jsx
index f2dd1ea25..817db1921 100644
--- a/src/views/explore/explore.jsx
+++ b/src/views/explore/explore.jsx
@@ -128,22 +128,26 @@ class Explore extends React.Component {
active: (this.state.itemType === type)
});
return (
+ // **** ADD A CONDITIONAL HERE ****
{this.state.itemType === type ? [
] : [
]}
-
+
);
diff --git a/static/svgs/tabs/projects-active.svg b/static/svgs/tabs/projects-active.svg
index 3738946b1..68d234805 100644
--- a/static/svgs/tabs/projects-active.svg
+++ b/static/svgs/tabs/projects-active.svg
@@ -1 +1 @@
-Icons
\ No newline at end of file
+Icons
\ No newline at end of file