From 9598d3a97bea1bb6f8786443000e5e0b4d0de340 Mon Sep 17 00:00:00 2001 From: Tom Byers Date: Thu, 3 Sep 2020 16:05:08 +0100 Subject: [PATCH] Change pills from tabs to navigation Changes the HTML to do the following: - remove all tabs semantics - give the list a role of navigation - label the navigation with the h1 - mark the selected item with aria-current --- app/templates/components/pill.html | 42 ++++++++++++++++-------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/app/templates/components/pill.html b/app/templates/components/pill.html index d6a416522..6a631dadd 100644 --- a/app/templates/components/pill.html +++ b/app/templates/components/pill.html @@ -6,25 +6,27 @@ big_number_args={'smaller': True}, show_count=True ) %} - + {% endmacro %}