AUR web interface

**This is the bug tracker for the AUR web interface.**

Use this tracker to report bugs or make feature requests regarding the behaviour or implementation of the AUR software.
Please read the Reporting Bug Guidelines before filing a new task.

- Please report bugs related to Arch Linux official packages here:
- Please report bugs for [community] packages here:
- For any packages in the AUR contact the maintainer or leave a comment on the package's detail page.

Source Code:

FS#45643 - [AUR4] Please don't use autofocus for text input widgets

Attached to Project: AUR web interface
Opened by jackoneill (jackoneill) - Tuesday, 14 July 2015, 11:23 GMT
Last edited by Lukas Fleischer (lfleischer) - Saturday, 10 October 2015, 23:10 GMT
Task Type General Gripe
Category Backend
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 4.0.0-rc6
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No


When you go to a package's page ( ), the "Keywords" text input widget from the search box automatically receives keyboard focus, because it uses the "autofocus" property:

<input type='text' name='K' size='30' value="" maxlength='35' autofocus="autofocus" />

This is a bad idea, because when you go to a package's page, it's unlikely you're going there to perform a search. It's much more likely that you'll want to look around, read the comments, etc. Because that text input widget has the keyboard focus, you can't use the arrow keys to scroll the page. You can't use the keyboard to do anything but type words there, actually, until you press Escape. (I use Vimperator...)
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Saturday, 10 October 2015, 23:10 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 4.1.0.
Comment by Stefan Auditor (sanduhrs) - Wednesday, 12 August 2015, 15:50 GMT
And it's especially annoying on mobile where the keyboard automatically covers have of the screen after the page has loaded.
Comment by Stefan Auditor (sanduhrs) - Wednesday, 12 August 2015, 15:56 GMT Comment by Marcel Korpel (Marcel-) - Wednesday, 12 August 2015, 16:11 GMT
This is already addressed in 4.1.0. Only on the package search page autofocus is retained: