         selectForm()
 
   $results
-    .on 'keypress', 'a', (e) ->
+    .on 'keydown', 'a', (e) ->
       $article = $(@).parentsUntil('#results')
       switch e.key
         when "Down", "ArrowDown"

  do loadsearchIndex

  $form
    .on 'keypress', (e)->
      switch e.key
        when "Tab", "Down", "ArrowDown"
          $('#similar a:first,#results a').first().focus()

      do updateHash
      do e.preventDefault

  $similar.on 'keydown', 'a', (e)->
    switch e.key
      when "Right", "ArrowRight"
        $(@).next().focus()
