From: nsedrickm Date: Mon, 20 Jun 2022 17:32:27 +0000 (+0100) Subject: mgr/dashboard: Improve accessibility for navigation components X-Git-Tag: v18.0.0~71^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=d84c82787985ef919030603fdd1ec61c114dbdbc;p=ceph-ci.git mgr/dashboard: Improve accessibility for navigation components * Fix all dropdown accessibility issues by setting their roles as buttons * Increase navlink font-size to 16px * Add new primary color variable $primary-wcag-aa-large-text: #25828e to meet WCAG level AA color contrast ratio for active navlink backgrounds Fixes: https://tracker.ceph.com/issues/56021 Signed-off-by: nsedrickm --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/administration/administration.component.html b/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/administration/administration.component.html index fa4b38d167a..eda1e83be54 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/administration/administration.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/administration/administration.component.html @@ -4,7 +4,8 @@ + title="Dashboard Settings" + role="button"> Dashboard Settings diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/dashboard-help/dashboard-help.component.html b/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/dashboard-help/dashboard-help.component.html index ed5ad8f1535..9739c738558 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/dashboard-help/dashboard-help.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/dashboard-help/dashboard-help.component.html @@ -2,7 +2,8 @@ placement="bottom-right"> + title="Help" + role="button"> Help diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.html b/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.html index bf0f22fbb4a..61e0e0527fe 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.html @@ -2,7 +2,8 @@ placement="bottom-right"> + title="Logged in user" + role="button"> Logged in user @@ -11,7 +12,7 @@ - +