From a252c69988ddef8353b38b7d3a0d728bb80e0d45 Mon Sep 17 00:00:00 2001 From: Richard Schreiber Date: Wed, 23 Apr 2025 18:07:32 +0200 Subject: [PATCH] [A11y] Fix tab order on customer step (remove autofocus on email-field) --- src/pretix/presale/forms/customer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/presale/forms/customer.py b/src/pretix/presale/forms/customer.py index 4183d1aa1..2b6e4f835 100644 --- a/src/pretix/presale/forms/customer.py +++ b/src/pretix/presale/forms/customer.py @@ -54,7 +54,7 @@ class AuthenticationForm(forms.Form): required_css_class = 'required' email = forms.EmailField( label=_("Email"), - widget=forms.EmailInput(attrs={'autofocus': True}) + widget=forms.EmailInput() ) password = forms.CharField( label=_("Password"),