diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f27eb82..326dfd8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Release History +## 72.00 (2024-06-25) + +Compare: + +- Update link block component to always display list items for all screen sizes (following user testing feedback) +- Accessibility fix: page does not start with a h1 +- Accessibility fix: aria-label not allowed on subpages div +- Accessibility fix: heading order not correct for footer column headings + ## 71.01 (2024-06-17) Compare: diff --git a/bc/project_styleguide/templates/patterns/molecules/cookie-message/cookie-message.html b/bc/project_styleguide/templates/patterns/molecules/cookie-message/cookie-message.html index 586483a7..3c83f517 100644 --- a/bc/project_styleguide/templates/patterns/molecules/cookie-message/cookie-message.html +++ b/bc/project_styleguide/templates/patterns/molecules/cookie-message/cookie-message.html @@ -2,7 +2,7 @@ {% include "patterns/molecules/directory-banner/directory-banner.html" with classes="directory-banner--with-space" %} diff --git a/bc/project_styleguide/templates/patterns/pages/standardpages/index_page--fis-cat2.html b/bc/project_styleguide/templates/patterns/pages/standardpages/index_page--fis-cat2.html index db528313..b45e6edd 100644 --- a/bc/project_styleguide/templates/patterns/pages/standardpages/index_page--fis-cat2.html +++ b/bc/project_styleguide/templates/patterns/pages/standardpages/index_page--fis-cat2.html @@ -13,7 +13,7 @@

{{ page.title }}

-
{% endif %} {% endfor %} -
+ {% include "patterns/molecules/directory-banner/directory-banner.html" %}
diff --git a/bc/settings/local.py.example b/bc/settings/local.py.example index 71dbe7bc..02c8791f 100644 --- a/bc/settings/local.py.example +++ b/bc/settings/local.py.example @@ -52,39 +52,41 @@ YANDEX_VERIFICATION_STRING = "test_string" # ENABLE_JOBS_SEARCH_ALERT_SUBSCRIPTIONS = False # Uncomment to disable +# Wagtail Search - Uncomment to use a personal Bonsai elasticsearch instance. # NB we're not overriding all of this, only the URL, but because of the order of imports # it's easier just to paste the lot -PERSONAL_BONSAI_URL = "See docs. Get a free sandbox Bonsai instance from bonsai.io" -WAGTAILSEARCH_BACKENDS = { - "default": { - "BACKEND": "bc.search.elasticsearch7", - "URLS": [PERSONAL_BONSAI_URL], - "INDEX": "wagtail", - "TIMEOUT": 5, - "OPTIONS": {}, - "INDEX_SETTINGS": { - "settings": { - "index": {"number_of_shards": 1, "number_of_replicas": 0}, - "analysis": { - "analyzer": { - "default": { - "tokenizer": "whitespace", - "filter": [ - "lowercase", - "synonym", # see bc.search.elasticsearch7.SearchBackend - "porter_stem", - "english_stop_words", - ] - }, - }, - "filter": { - "english_stop_words": { - "type": "stop", - "stopwords": "_english_", - }, - }, - }, - }, - } - } -} +# -------------------------------------------------------------------------------------- +# PERSONAL_BONSAI_URL = "See docs. Get a free sandbox Bonsai instance from bonsai.io" +# WAGTAILSEARCH_BACKENDS = { +# "default": { +# "BACKEND": "bc.search.elasticsearch7", +# "URLS": [PERSONAL_BONSAI_URL], +# "INDEX": "wagtail", +# "TIMEOUT": 5, +# "OPTIONS": {}, +# "INDEX_SETTINGS": { +# "settings": { +# "index": {"number_of_shards": 1, "number_of_replicas": 0}, +# "analysis": { +# "analyzer": { +# "default": { +# "tokenizer": "whitespace", +# "filter": [ +# "lowercase", +# "synonym", # see bc.search.elasticsearch7.SearchBackend +# "porter_stem", +# "english_stop_words", +# ] +# }, +# }, +# "filter": { +# "english_stop_words": { +# "type": "stop", +# "stopwords": "_english_", +# }, +# }, +# }, +# }, +# } +# } +# } diff --git a/bc/static_src/sass/components/_cookie-message.scss b/bc/static_src/sass/components/_cookie-message.scss index e11a5bbb..f4a83367 100644 --- a/bc/static_src/sass/components/_cookie-message.scss +++ b/bc/static_src/sass/components/_cookie-message.scss @@ -32,7 +32,7 @@ } &__message { - p { + p:not(.cookie__heading) { line-height: 1.5; margin-top: 0; margin-bottom: 0; diff --git a/bc/static_src/sass/components/_link-block.scss b/bc/static_src/sass/components/_link-block.scss index a061ac14..6d480647 100644 --- a/bc/static_src/sass/components/_link-block.scss +++ b/bc/static_src/sass/components/_link-block.scss @@ -6,18 +6,6 @@ @include font-size(m); } - &__list { - display: none; - - #{$root}--inlineindex & { - display: block; - } - - @include media-query(px550) { - display: block; - } - } - &__list-item { padding-left: 25px; margin-bottom: 5px;