With Fossil 2.6, there's a new "unencrypted connection" security warning in
the Login/Logout form, which also has a hyperlink to a secure login page.

In some web browsers, pressing TAB to move the input focus from "User ID"
to "Password" sets the focus to this hyperlink, instead of the next form
control.

I would like to suggest to add "tabindex" attributes to the login form
controls, so that it's possible to cycle through the controls in a logical
order, i.e. "tabindex=1" for "User ID", "tabindex=2" for "Password",
"tabindex=3" for the "Login" button, and maybe "tabindex=4" for the secure
login link.

As auto-focusing the "User ID" field is unfortunately no longer possible
[0], setting a "tabindex" may also have the effect that the "User ID" field
can be focused with one single TAB keypress (on some web browsers, this may
only work if all other controls have a higher "tabindex", or "tabindex=-1",
the latter reducing accessibility).

[0]
https://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg27053.html

Also, adding "accesskey" attributes can be handy to jump to
non-auto-focused form controls, for example "accesskey=u" for "User ID",
and "accesskey=p" for "Password". The hotkeys could be displayed with
underlined style in the form labels, to make them visible to the user.

Moreover, wrapping the labels for the input fields inside "<label
for=id>...</label>" enables another quick way (by clicking the label) to
focus an input field with all contents selected.

--Florian
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to