#30236: should Use autocapitalize="none"
------------------------------------------------+------------------------
               Reporter:  Clayton Daley         |          Owner:  nobody
                   Type:  Cleanup/optimization  |         Status:  new
              Component:  contrib.auth          |        Version:  2.1
               Severity:  Normal                |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 IOS devices often auto-capitalize the first letter in input fields.  While
 this may be OK in a lot of places, it's not an acceptable behavior while
 usernames remain case sensitive (i.e.
 https://code.djangoproject.com/ticket/2273).

 To address this issue, username inputs should include
 `autocapitalize="none"` among the attrs for the username (and possibly
 password) fields.  I ran into this issue with
 `django.contrib.auth.forms.AuthenticationForm`, where
 `autocapitalize="none"` could be added to the attrs in the property-based
 field.  However, I could see the argument for fixing it at the
 `UsernameField` so it cascades to other uses (e.g. `UserCreationForm` and
 `UserChangeForm`).

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30236>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/055.07d840119d9d5b99ac8764ae6c21043f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to