BUGFIX 361-02: Tab order on comment form incorrect when user is not logged in
1 Attachment(s)
If a user is not logged in, then the tab order of the comment form fields is incorrect. To fix this issue, edit comments.php and change lines 93-101 from
HTML Code:
// author, email and url fields are set in a separate variable first: HTML Code:
// author, email and url fields are set in a separate variable first: Attachment 1032 |
I hate to be the bearer of bad news, but this fix does not appear to be working, even when I am logged in. Pressing "Tab" from the comment form takes the highlight up to the first link on the page, and never seems to get back around to the "Submit" button.
|
Without this fix you would jump from the 'Name' to the 'Message Text' to the top of the document to possibly other places then finally to the 'Email' then Website.
the actual Comment form is built with a WordPress function and that code puts no tabindex on the submit button. If you want, you can edit 'comment-template.php' which is in the 'wordpress/includes' folder and find line 1577 (in WP 3.0.5) which should be HTML Code:
<input name="submit" type="submit" id="<?php echo esc_attr( $args['id_submit'] ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" /> HTML Code:
<input name="submit" type="submit" id="<?php echo esc_attr( $args['id_submit'] ); ?>" tabindex="5" value="<?php echo esc_attr( $args['label_submit'] ); ?>" /> |
Well, in that case, cancel my complaints and thanks for the pointer!
|
All times are GMT -6. The time now is 06:01 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.