News for hackers. Stuff that matters.
Re:How MDN's Autocomplete Search Works by ushakov on Tuesday August 03, 2021 @01:35PM (#28051909)
imho, they should've opted for CMD/CTRL + K, which Algolia's Doc search uses

> They should have just had the search field auto-focused automatically but that would have done away with their "clever" hack to lazy-load the DB containing every page name.

this would steal away the focus and is not good for accessibility (unless you're building a search engine)

There are no comments on this comment yet.