diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 7864b22a08..3419070c44 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -175,6 +175,7 @@ Changelog * Fix: Address form field label alignment issues by always displaying labels above the widget (Thibaud Colas) * Fix: Make sure rich text URL editing tooltip is fully visible when displayed inside InlinePanel blocks (Thibaud Colas) * Fix: Allow input fields to scroll horizontally in Safari iOS (Thibaud Colas) + * Fix: Ensure screen readers are made aware of page level messages added dynamically to the top of the page (Paarth Agarwal) 3.0.1 (16.06.2022) diff --git a/docs/releases/4.0.md b/docs/releases/4.0.md index e4a6801b51..259f69c356 100644 --- a/docs/releases/4.0.md +++ b/docs/releases/4.0.md @@ -233,6 +233,7 @@ The bulk of these enhancements have been from Paarth Agarwal, who has been doing * Address form field label alignment issues by always displaying labels above the widget (Thibaud Colas) * Make sure rich text URL editing tooltip is fully visible when displayed inside InlinePanel blocks (Thibaud Colas) * Allow input fields to scroll horizontally in Safari iOS (Thibaud Colas) + * Ensure screen readers are made aware of page level messages added dynamically to the top of the page (Paarth Agarwal) ## Upgrade considerations diff --git a/wagtail/admin/templates/wagtailadmin/base.html b/wagtail/admin/templates/wagtailadmin/base.html index c2245839f0..f8629a6172 100644 --- a/wagtail/admin/templates/wagtailadmin/base.html +++ b/wagtail/admin/templates/wagtailadmin/base.html @@ -8,7 +8,7 @@
{# Always show messages div so it can be appended to by JS #} -
+
{% if messages %}
    {% for message in messages %}