From 28978f4bc44ec356e7fc99c6d3266e8ca6a3d799 Mon Sep 17 00:00:00 2001 From: robinvandermolen Date: Mon, 21 Oct 2024 14:24:12 +0200 Subject: [PATCH] :wheelchair: [#4720] Skiplink as first focusable element and visible on focus --- src/openforms/templates/404.html | 1 + src/openforms/templates/account_blocked.html | 1 + src/openforms/templates/master.html | 8 +++++--- .../ui/scss/components/skiplink/_skiplink.scss | 13 +++++++++++-- 4 files changed, 18 insertions(+), 5 deletions(-) diff --git a/src/openforms/templates/404.html b/src/openforms/templates/404.html index 3fdf20cfd4..eeef133037 100644 --- a/src/openforms/templates/404.html +++ b/src/openforms/templates/404.html @@ -1,6 +1,7 @@ {% extends 'master.html' %} {% block extra_css %}{% endblock %} +{% block skiplink %}{% endblock %} {% block content %}

Sorry, the requested page could not be found (404)

diff --git a/src/openforms/templates/account_blocked.html b/src/openforms/templates/account_blocked.html index 39bc9d2459..22f619ef0c 100644 --- a/src/openforms/templates/account_blocked.html +++ b/src/openforms/templates/account_blocked.html @@ -1,6 +1,7 @@ {% extends 'master.html' %} {% block extra_css %}{% endblock %} +{% block skiplink %}{% endblock %} {% block content %} diff --git a/src/openforms/templates/master.html b/src/openforms/templates/master.html index b14ea04c41..76d6ece1f1 100644 --- a/src/openforms/templates/master.html +++ b/src/openforms/templates/master.html @@ -30,6 +30,10 @@ + {% block skiplink %} + + {% endblock %} + {# No point in putting this in a