From eb8bdaf4e373e337f11578d421b9202e1818d39f Mon Sep 17 00:00:00 2001 From: Jay X Anaya Date: Thu, 7 Nov 2024 14:28:27 -0500 Subject: [PATCH] Fix A11y issue with screen readers --- lib/web/templates/layout/util_nav/_admin.html.eex | 10 ++++++---- .../layout/util_nav/_challenge_manager.html.eex | 15 ++++++++++----- .../templates/layout/util_nav/_solver.html.eex | 12 ++++++++---- lib/web/views/dashboard_view.ex | 4 ++-- 4 files changed, 26 insertions(+), 15 deletions(-) diff --git a/lib/web/templates/layout/util_nav/_admin.html.eex b/lib/web/templates/layout/util_nav/_admin.html.eex index 859ffc944..457396d7c 100644 --- a/lib/web/templates/layout/util_nav/_admin.html.eex +++ b/lib/web/templates/layout/util_nav/_admin.html.eex @@ -1,26 +1,28 @@
- +
<%= link(to: Routes.dashboard_path(@conn, :index), class: "display-flex flex-align-center flex-column desktop:flex-row margin-x-1 desktop:margin-x-3 text-white width-9 tablet:width-auto tablet:text-no-wrap text-center") do %> Dashboard <% end %> - +
+
<%= link(to: Routes.user_path(@conn, :index), class: "display-flex flex-align-center flex-column desktop:flex-row margin-x-1 desktop:margin-x-3 text-white width-9 tablet:width-auto tablet:text-no-wrap text-center") do %> Users <% end %> - +
+
<%= link(to: Routes.challenge_path(@conn, :index), class: "display-flex flex-align-center flex-column desktop:flex-row margin-x-1 desktop:margin-x-3 text-white width-9 tablet:width-auto tablet:text-no-wrap text-center", id: "challenge-link-1") do %> Challenges <% end %> - +