-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
The Safari browser has intrusive autocomplete enabled by default, while Chromium browsers also have spellcheck enabled for form fields unless you opt out.
In Safari in particular, it's almost impossible to type in package names as they get replaced with English dictionary words. This issue exists to some extent in Chrome too, where values like SSH key signatures are underscored as spelling mistakes.
This results in misconfigurations, often without the user noticing.
The solution is to add the spellcheck="false" attribute to the root DOM element. This disables both autocorrect and spelling underlines in WebKit-based and Chromium-based browsers. (Testing suggests there's no need to do it on a per-field basis as it bubbles down the DOM). (It also prevents what the user types from transmission to cloud spellchecking services, which is sometimes cited as a security issue.)
Optionally, to preserve the functionality where it makes sense, like Optional, free-form notes about this device under General Settings, a new prose datatype or flag could be introduced to selectively re-enable spellchecking by opting in to the spellcheck attribute selectively.