Page MenuHomePhabricator

Add autocapitalize attributes for address inputs
Closed, ResolvedPublic

Description

The autocapitalize attribute (https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/autocapitalize) makes it quicker to enter capitalized info on mobile keyboards without having to repeatedly use the shift key.

I suggest we add

  • autocapitalize="words" on street_address input
  • autocapitalize="words" on city input
  • autocapitalize="characters" on postal_code input (for alphanumeric postal codes such as the UK which are always uppercase. See also T169205: Use numeric keyboard on mobile for zip code input, but it should be possible to do this even without that change)

Event Timeline

Change #1208446 had a related patch set uploaded (by Ejegg; author: Ejegg):

[mediawiki/extensions/DonationInterface@master] Add autocapitalize attributes for address inputs

https://gerrit.wikimedia.org/r/1208446

Change #1208446 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Add autocapitalize attributes for address inputs

https://gerrit.wikimedia.org/r/1208446

XenoRyet set Final Story Points to 1.