]> git.proxmox.com Git - mirror_novnc.git/commitdiff
Don't let the hidden input field be a tab stop
authorPierre Ossman <ossman@cendio.se>
Wed, 18 Oct 2017 13:04:45 +0000 (15:04 +0200)
committerPierre Ossman <ossman@cendio.se>
Wed, 18 Oct 2017 13:08:33 +0000 (15:08 +0200)
It's very confusing if you tab between elements and all of a sudden
something hidden gets focus.

vnc.html

index 67b8712e0652ba4cb3515ec80fef742070bde2c2..334600e9df06d422ec91a0e2949bcc1e5acd3c37 100644 (file)
--- a/vnc.html
+++ b/vnc.html
                  style for example -->
             <textarea id="noVNC_keyboardinput" autocapitalize="off"
                 autocorrect="off" autocomplete="off" spellcheck="false"
-                mozactionhint="Enter"></textarea>
+                mozactionhint="Enter" tabindex="-1"></textarea>
 
             <canvas id="noVNC_canvas" width="0" height="0" tabindex="-1">
                         Canvas not supported.