Code

Opened 2 years ago

Last modified 2 years ago

#17082 new Cleanup/optimization

contrib.auth html should be updated to used HTML5 features where possible

Reported by: drhevans Owned by: nobody
Component: contrib.admin Version: master
Severity: Normal Keywords: html5
Cc: d@… Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description


Attachments (1)

ticket17082.diff (1.0 KB) - added by drhevans 2 years ago.

Download all attachments as: .zip

Change History (4)

Changed 2 years ago by drhevans

comment:1 Changed 2 years ago by drhevans

  • Has patch unset
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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.

comment:2 Changed 2 years ago by ptone

  • Summary changed from Login form should use HTML5 autofocus with JavaScript as fallback to contrib.auth html should be updated to used HTML5 features where possible
  • Triage Stage changed from Unreviewed to Accepted

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

comment:3 Changed 2 years ago by claudep

  • Keywords html5 added

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as new
The owner will be changed from nobody to anonymous. Next status will be 'assigned'
as The resolution will be set. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.