From 2c74654544c9ae41223ca527d393a2efc71045d5 Mon Sep 17 00:00:00 2001 From: CocoByte Date: Sun, 9 Feb 2025 19:25:37 -0700 Subject: [PATCH 1/4] add skip-to-filters link for admin tables --- src/registrar/templates/admin/change_list.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/registrar/templates/admin/change_list.html b/src/registrar/templates/admin/change_list.html index 43abf0861..7256f2af2 100644 --- a/src/registrar/templates/admin/change_list.html +++ b/src/registrar/templates/admin/change_list.html @@ -37,6 +37,8 @@ for {{ search_query }} {% endif %} + + Skip to filters {% endblock %} {% comment %} Replace the Django ul markup with a div. We'll replace the li with a p in change_list_object_tools {% endcomment %} From a0d71bf9f2aca4193b230d0a079efef8c71215a0 Mon Sep 17 00:00:00 2001 From: CocoByte Date: Tue, 18 Feb 2025 09:39:06 -0700 Subject: [PATCH 2/4] move skip to filters link up the DOM --- src/registrar/templates/admin/change_list.html | 1 - src/registrar/templates/base.html | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/registrar/templates/admin/change_list.html b/src/registrar/templates/admin/change_list.html index 7256f2af2..c5ee34f3e 100644 --- a/src/registrar/templates/admin/change_list.html +++ b/src/registrar/templates/admin/change_list.html @@ -38,7 +38,6 @@ {% endif %} - Skip to filters {% endblock %} {% comment %} Replace the Django ul markup with a div. We'll replace the li with a p in change_list_object_tools {% endcomment %} diff --git a/src/registrar/templates/base.html b/src/registrar/templates/base.html index dd6417ccb..e1c315bc8 100644 --- a/src/registrar/templates/base.html +++ b/src/registrar/templates/base.html @@ -70,6 +70,7 @@ Skip to main content + Skip to filters {% if not IS_PRODUCTION %} {% include "includes/banner-non-production-alert.html" %} From d2cdc95e9711101cf055409fa8f742f9f92284e0 Mon Sep 17 00:00:00 2001 From: CocoByte Date: Tue, 18 Feb 2025 09:47:03 -0700 Subject: [PATCH 3/4] fix - wrong part of DOM! --- src/registrar/templates/admin/base_site.html | 2 ++ src/registrar/templates/base.html | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/registrar/templates/admin/base_site.html b/src/registrar/templates/admin/base_site.html index b80917bb2..45220ed96 100644 --- a/src/registrar/templates/admin/base_site.html +++ b/src/registrar/templates/admin/base_site.html @@ -49,6 +49,8 @@ {% endwith %} {% endif %} + Skip to filters + {# Djando update: this div will change to header #}