Last modified: 2014-09-24 00:06:42 UTC
To quote the user on Commons: "I usually use the "tab" buton to navigate the upload form. One issue I have is that now, when I want to get from the "permission" field to the categories, I have to "tab" my way through the entire special chars menu (or of course, use the dreaded "cursor"). It would be neat if the "tab" could skip the special chars on its way down towards the "upload" button." I agree with the user. This can be easily done by setting "tabindex" property of the upload field.
Note that the upload button has its own short key (ctrl-alt-s from the top of my memory).
Created attachment 7315 [details] Tabindex for Upload Patch that adds tabindex to the Upload page. Adds partial support for tabindex to HTMLForm.php. Not supported for all fields, and not supported yet for the submit button. Should I add a setSubmitTabIndex() ? How then to handle the other buttons ? keep counting ? Could also not get the tabindex to work for the license selector for some reason. almost seems if setAttribute for XmlSelect just doesn't do a thing.
+need-review inferring from "Should I add a setSubmitTabIndex() ? How then to handle the other buttons ? keep counting ?" that Derk-Jan would like some design review
Jan, could I ask you to take a look at this and see whether it would be worth updating & putting into Gerrit? Thanks.
jgerber: Could you review comment 2 here, please?
This is more a question about accessibility, is tabindex used for other forms? Also, now that UploadWizard is the default uploag page, is Special:Upload still used? It comes only up for uploading a new version as far as I know.