Ensure screen readers are made aware of page level messages

- when added dynamically to the top of the page
- already added to the authentication pages via #8925
pull/9051/head
PaarthAgarwal 2022-08-18 16:21:31 +05:30 zatwierdzone przez LB (Ben Johnston)
rodzic 1504eb7812
commit 520dfa8005
3 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -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)

Wyświetl plik

@ -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

Wyświetl plik

@ -8,7 +8,7 @@
<main class="content-wrapper w-overflow-x-hidden" id="main">
<div class="content">
{# Always show messages div so it can be appended to by JS #}
<div class="messages">
<div class="messages" role="status">
{% if messages %}
<ul>
{% for message in messages %}