Hi, The autofocus attribute on the Package(s) field prevents keyboard navigating (i.e. Ctrl+←). Using tabindex=0 one can press tab once to focus on it while making keyboard navigating possible.
--- library.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library.php b/library.php index 5aa3b43..d63a1b5 100644 --- a/library.php +++ b/library.php @@ -500,7 +500,7 @@ function select_suite($packages, $selected_suite, $archs="", $comaint="no") { $package = implode(",", $packages); $archs = implode(",", check_archs($archs)); $selected_suite = check_suite($selected_suite); - printf("<form action=\"package.php\" method=\"get\">\n<p>\nPackage(s): <input id=\"pkg_field\" type=\"text\" name=\"p\" value=\"%s\" autofocus /> Suite: ", + printf("<form action=\"package.php\" method=\"get\">\n<p>\nPackage(s): <input id=\"pkg_field\" type=\"text\" name=\"p\" value=\"%s\" tabindex=0 /> Suite: ", $package ); printf("<select name=\"suite\" id=\"suite\">\n"); -- 2.40.1 -- Sdrager, Blair Noctis
OpenPGP_signature.asc
Description: OpenPGP digital signature