diff --git a/CHANGELOG.txt b/CHANGELOG.txt index c83b10b677..2a2ff717ba 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -20,6 +20,7 @@ Changelog * Add a 'remember me' checkbox to the admin sign in form, if unticked (default) the auth session will expire if the browser is closed (Michael Karamuth, Jake Howard) * When returning to image or document listing views after editing, filters (collection or tag) are now remembered (Tidjani Dia) * Improve the visibility of field error messages, in Windows high-contrast mode and out (Jason Attwood) + * Improve implementations of visually-hidden text in explorer and main menu toggle (Martin Coote) * Fix: Accessibility fixes for Windows high contrast mode; Dashboard icons colour and contrast (Sakshi Uppoor) * Fix: Rename additional 'spin' CSS animations to avoid clashes with other libraries (Kevin GutiƩrrez) * Fix: `default_app_config` deprecations for Django >= 3.2 (Tibor Leupold) diff --git a/client/scss/components/_button.scss b/client/scss/components/_button.scss index d54f198282..97bbef0e7a 100644 --- a/client/scss/components/_button.scss +++ b/client/scss/components/_button.scss @@ -206,6 +206,12 @@ -webkit-font-smoothing: auto; // stylelint-disable-next-line property-no-vendor-prefix -moz-appearance: none; + + &:hover, + &:focus, + &:active { + background-color: transparent; + } } &:hover { diff --git a/client/scss/components/_main-nav.scss b/client/scss/components/_main-nav.scss index 64692393c8..bec70c3452 100644 --- a/client/scss/components/_main-nav.scss +++ b/client/scss/components/_main-nav.scss @@ -328,7 +328,7 @@ body.explorer-open { } } - .nav-toggle { + .nav-toggle.unbutton { display: none; } diff --git a/docs/releases/2.16.md b/docs/releases/2.16.md index 37ee61fdd9..194d5cd389 100644 --- a/docs/releases/2.16.md +++ b/docs/releases/2.16.md @@ -27,6 +27,7 @@ * Add a 'remember me' checkbox to the admin sign in form, if unticked (default) the auth session will expire if the browser is closed (Michael Karamuth, Jake Howard) * When returning to image or document listing views after editing, filters (collection or tag) are now remembered (Tidjani Dia) * Improve the visibility of field error messages, in Windows high-contrast mode and out (Jason Attwood) + * Improve implementations of visually-hidden text in explorer and main menu toggle (Martin Coote) ### Bug fixes diff --git a/wagtail/admin/templates/wagtailadmin/base.html b/wagtail/admin/templates/wagtailadmin/base.html index 9f5d10492f..b8c3236a51 100644 --- a/wagtail/admin/templates/wagtailadmin/base.html +++ b/wagtail/admin/templates/wagtailadmin/base.html @@ -54,7 +54,7 @@ {% if not slim_sidebar_enabled %} - + {% endif %} {% block content %}{% endblock %} diff --git a/wagtail/admin/templates/wagtailadmin/pages/listing/_navigation_explore.html b/wagtail/admin/templates/wagtailadmin/pages/listing/_navigation_explore.html index cef18a4f9e..6d82d0151b 100644 --- a/wagtail/admin/templates/wagtailadmin/pages/listing/_navigation_explore.html +++ b/wagtail/admin/templates/wagtailadmin/pages/listing/_navigation_explore.html @@ -6,8 +6,18 @@ Navigation controls for the page listing in 'explore' mode {% if page.is_navigable %} - {% trans "Explore" %} + {% elif page_perms.can_add_subpage %} - {% trans 'Add child page' %} + {% endif %}