[Django] #17082: Login form should use HTML5 autofocus with JavaScript as fallback

19 views
Skip to first unread message

Django

unread,
Oct 21, 2011, 7:08:15 AM10/21/11
to django-...@googlegroups.com
#17082: Login form should use HTML5 autofocus with JavaScript as fallback
--------------------------------------+--------------------
Reporter: drhevans | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: contrib.admin | Version: SVN
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 0 | UI/UX: 0
--------------------------------------+--------------------


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

Django

unread,
Oct 21, 2011, 7:15:40 AM10/21/11
to django-...@googlegroups.com
#17082: Login form should use HTML5 autofocus with JavaScript as fallback
-------------------------------------+-------------------------------------
Reporter: drhevans | Owner: nobody
Type: | Status: new
Cleanup/optimization | Version: SVN
Component: contrib.admin | Resolution:
Severity: Normal | Triage Stage:
Keywords: | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by drhevans):

* needs_docs: => 0
* has_patch: 1 => 0
* needs_tests: => 0
* needs_better_patch: => 0


Comment:

Ah, ignore moronic patch; and forgive me for creating tickets when not
really concentrating! Obviously autofocus attribute needs to be on the
input, not the label, which requires slightly deeper patching.

--
Ticket URL: <https://code.djangoproject.com/ticket/17082#comment:1>

Django

unread,
Oct 23, 2011, 10:38:52 AM10/23/11
to django-...@googlegroups.com
#17082: contrib.auth html should be updated to used HTML5 features where possible
--------------------------------------+------------------------------------
Reporter: drhevans | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: contrib.admin | Version: SVN
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by ptone):

* stage: Unreviewed => Accepted


Comment:

This would be part of a larger project of updating html in contrib.auth -
and unlikely to be fixed in isolation. A similar effort would also exist
for contrib.admin (which need not be coupled to the change for auth, as it
is much bigger). Such changes need to be backwards compatable, but my
understanding of HTML5 is that this is relatively builtin by design.

note: original summary:


Login form should use HTML5 autofocus with JavaScript as fallback

--
Ticket URL: <https://code.djangoproject.com/ticket/17082#comment:2>

Django

unread,
Feb 8, 2012, 7:45:56 AM2/8/12
to django-...@googlegroups.com
#17082: contrib.auth html should be updated to used HTML5 features where possible
--------------------------------------+------------------------------------
Reporter: drhevans | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: contrib.admin | Version: SVN
Severity: Normal | Resolution:
Keywords: html5 | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by claudep):

* keywords: => html5


--
Ticket URL: <https://code.djangoproject.com/ticket/17082#comment:3>

Django

unread,
Apr 23, 2016, 8:02:37 AM4/23/16
to django-...@googlegroups.com
#17082: contrib.auth html should be updated to used HTML5 features where possible
--------------------------------------+------------------------------------
Reporter: drhevans | Owner: nobody
Type: Cleanup/optimization | Status: closed
Component: contrib.admin | Version: master
Severity: Normal | Resolution: fixed

Keywords: html5 | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by claudep):

* status: new => closed
* resolution: => fixed


Comment:

The autofocus stuff has been basically fixed in [d638cdc42acec608c1].

--
Ticket URL: <https://code.djangoproject.com/ticket/17082#comment:4>

Reply all
Reply to author
Forward
0 new messages