From 5c3b5790ae9bddbe4853ff7617f3ac032c0b1f8f Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Mon, 23 Sep 2024 07:50:52 -0700 Subject: [PATCH 01/30] try overriding default govuk-frontend font weight --- app/assets/stylesheets/main.scss | 5 +++++ tests/end_to_end/conftest.py | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/main.scss b/app/assets/stylesheets/main.scss index 0b97e96b1..f63114408 100644 --- a/app/assets/stylesheets/main.scss +++ b/app/assets/stylesheets/main.scss @@ -34,6 +34,11 @@ $path: '/static/images/'; // Dependencies from GOV.UK Frontend, packaged to be specific to this application @import './govuk-frontend/all'; +// Custom overrides +.govuk-link { + font-weight: bold; +} + // Specific to this application @import 'local/typography'; @import 'grids'; diff --git a/tests/end_to_end/conftest.py b/tests/end_to_end/conftest.py index 3af2842d6..d9bd8786c 100644 --- a/tests/end_to_end/conftest.py +++ b/tests/end_to_end/conftest.py @@ -37,5 +37,4 @@ def check_axe_report(page): assert violation["impact"] in [ "minor", "moderate", - "serious", ], f"Accessibility violation: {violation}" From b953d316c480f6592ea1a2b2441a91e81ba2b945 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Mon, 23 Sep 2024 08:01:56 -0700 Subject: [PATCH 02/30] fix aria label issue --- app/templates/views/dashboard/dashboard.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/views/dashboard/dashboard.html b/app/templates/views/dashboard/dashboard.html index 9268b37e3..6c554d515 100644 --- a/app/templates/views/dashboard/dashboard.html +++ b/app/templates/views/dashboard/dashboard.html @@ -46,7 +46,7 @@
{{ current_service.name }} - last 7 days
-
+
From 8b6f71951037f0390b0f6e8ebfcb14d027381434 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Mon, 23 Sep 2024 08:18:41 -0700 Subject: [PATCH 03/30] try to fix li elements --- app/templates/views/templates/template.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/templates/views/templates/template.html b/app/templates/views/templates/template.html index 3fe2a1493..d7dbf94ae 100644 --- a/app/templates/views/templates/template.html +++ b/app/templates/views/templates/template.html @@ -63,24 +63,29 @@ href="{{ url_for('.view_template_versions', service_id=current_service.id, template_id=template.id) }}">See previous versions + {% endif %} {% if current_user.has_permissions('manage_templates') and user_has_template_permission %} {% if not template._template.archived %} + {% endif %} {% if not template._template.redact_personalisation %} + {% else %}

Personalization is hidden after sending

{% endif %} {% endif %} - +