From d3368fe9b6c1a4ea0364d09baad92a5a4dff6520 Mon Sep 17 00:00:00 2001 From: Richard Schreiber Date: Wed, 14 May 2025 11:28:05 +0200 Subject: [PATCH] fix VoiceOver not reading aria-describedby on dialog --- src/pretix/presale/templates/pretixpresale/base.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/pretix/presale/templates/pretixpresale/base.html b/src/pretix/presale/templates/pretixpresale/base.html index 41d662f037..514ad76460 100644 --- a/src/pretix/presale/templates/pretixpresale/base.html +++ b/src/pretix/presale/templates/pretixpresale/base.html @@ -48,7 +48,14 @@ - +{% comment %} + needs to be available onload and role-attribute cannot be changed dynamically. + Therefore we need two dialogs, one normal (e.g. for status info like "loading") and one + alertdialog with a confirm-button. + Note: dialog[aria-describedby] is not read out on VoiceOver, so we add both label and + description to aria-labelledby. +{% endcomment %} + - +