package.elm-lang.org icon indicating copy to clipboard operation
package.elm-lang.org copied to clipboard

Prevent search boxes from auto-correcting

Open TSFoster opened this issue 5 years ago • 0 comments
trafficstars

I often find that my browser's auto-correction is unhelpful when searching the package list and package docs. On macOS/Safari at least, I'll start typing and find the package I'm looking for, but trying to click the package causes the auto-correction to occur, changing my search term.

2020-06-16 15 34 06

This pull request prevents the browser from doing any correction, including a couple of Safari-specific attributes.

It's particularly noticeable on the package search page (because the browser not understanding Github usernames), so the changes to Page.Search might be more valuable than the changes made to Page.Docs.

TSFoster avatar Jun 16 '20 14:06 TSFoster