DistributedProofreaders / dproofreaders

Distributed Proofreaders is a web application intended to ease the process of converting public domain books into e-texts.
https://www.pgdp.net
GNU General Public License v2.0
47 stars 28 forks source link

Disable autocapitalization of username input fields #1159

Closed bpfoley closed 6 months ago

bpfoley commented 6 months ago

The autocapitalize attribute is standard HTML5, but the default behavior when it isn't explicitly set differs across browsers.

In particular we have some users using iPads, and in Safari, autocapitalize is on by default.

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autocapitalize#usage_notes

Support goes back to iOS Safari 5 (2012); Chrome 43 (2015); Opera 30 (2015); but not until Firefox 111 (2023). However the Firefox non-support is harmless as it defaults to autocapitalize off anyway.

bpfoley commented 6 months ago

any textareas that could benefit as well?

Good question. I think there are probably a few -- but the only one that sticks out as an obvious candidate is echo_proofing_textarea.

lhamilton1 commented 6 months ago

I approve. Thanks!