From 03fbeb2a271b9e3c40339ed237175e2b15bbd16c Mon Sep 17 00:00:00 2001 From: "Keith J. Grant" Date: Thu, 8 Apr 2021 11:32:53 -0700 Subject: [PATCH] fix a11y labels on dashboard tabs --- .../src/screens/Dashboard/Dashboard.jsx | 145 +++++++++--------- 1 file changed, 76 insertions(+), 69 deletions(-) diff --git a/awx/ui_next/src/screens/Dashboard/Dashboard.jsx b/awx/ui_next/src/screens/Dashboard/Dashboard.jsx index c6d029cb67..78fea22c7d 100644 --- a/awx/ui_next/src/screens/Dashboard/Dashboard.jsx +++ b/awx/ui_next/src/screens/Dashboard/Dashboard.jsx @@ -170,86 +170,93 @@ function Dashboard({ i18n }) { aria-label={i18n._(t`Job status graph tab`)} eventKey={0} title={{i18n._(t`Job status`)}} - /> + > + + + + + + + + + + + + {i18n._(t`Recent Jobs`)}} - /> + > +
+ {activeTabId === 1 && ( + + )} +
+
{i18n._(t`Recent Templates`)} } - /> + > +
+ {activeTabId === 2 && ( + + )} +
+
- {activeTabId === 0 && ( - - - - - - - - - - - - )} - {activeTabId === 1 && } - {activeTabId === 2 && ( - - )}