question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Consider adding `autocorrect="off" spellcheck="false"` to inputs

See original GitHub issue

A user is entering their email address on an email input implemented without type="email".

The standard input does not have autocorrect="off" so their email address is autocorrected.

screen shot 2019-01-14 at 09 47 26

Should we consider autocorrect="off" spellcheck="false" on inputs?

If type="email" is applied does this remove autocorrect?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
36degreescommented, Jan 18, 2019

This definitely seems like it’d be beneficial on text inputs asking for things like reference or document numbers, where spelling and autocorrect behaviours are not generally going to be helpful (I guess unless you have to enter the same reference number a lot and the browser has learnt it as part of its dictionary)

0reactions
edwardhorsfordcommented, Jan 30, 2019

I don’t know about defaulting, but it would be great to document some of this somewhere - attributes services should consider.

My general default is to disable spellcheck by default for all inputs, but then enable for inputs accepting sentence-like answers.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Disable spell-checking on HTML textfields - Stack Overflow
Yes, use spellcheck="false" , as defined by HTML5, for example:
Read more >
spellcheck - HTML: HyperText Markup Language | MDN
The spellcheck global attribute is an enumerated attribute that defines whether the element may be checked for spelling errors.
Read more >
How to Disable Spell Checking from Input Box and Textarea
Answer: Set the spellcheck attribute to false ... Usually, when you enter the grammatically incorrect words inside <input> or <textarea> fileds in an...
Read more >
How to disable spell checking from Input Box and Textarea in ...
To disable spellcheck in an HTML form the spellcheck attribute is set to “false”. Below is the sample HTML program with disabled spellcheck....
Read more >
How To Turn Off Spellcheck Globally for All Input Boxes in a ...
If an element's spellcheck attribute is false, the browser will not spell-check its content. The default value of the spellcheck is true.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found