View Issue Details

IDProjectCategoryView StatusLast Update
0006167mantisbtbugtrackerpublic2016-08-28 01:18
Reporterarmhoge Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Product Version1.0.0rc1 
Summary0006167: The tab order of "Custom fields" is not usable
Description

I have a few custom fields defined. They are at the end of the tab order.
This measn that they are ONLY tabbed into after the default fields AND submit button AND the Logo AND the all items on menu bar AND jump buttons etc etc.

What makes it even worst is that even if you click on the first custom field and tab from there you go back into the wrong tab sequence.

So a user is forced to use Keyboard, mouse, keyboard, mouse etc etc and this is a killer.

Additional Information

There are other issues that cover this same problem

0002882
0003460
0005306

TagsNo tags attached.

Relationships

duplicate of 0003460 new Custom Fields tab sequence 

Activities

armhoge

armhoge

2006-02-16 10:35

reporter   ~0012170

This issue is still open.

What I have implemented to fix this problem is to remove ALL occurences of TABINDEX so that order defaults to display order. In this manner the tab order works perfectly for the custom fields. This has to be done on
bug_report_advanced_page.php
bug_report_page.php

Example
<select tabindex="1" name="category">
is changed to
<select name="category">

Hopefully this will get picked up and implemented

mcraig88

mcraig88

2006-09-05 14:36

reporter   ~0013349

This also worked for me this needs to get included in the next release.

qips

qips

2007-11-02 10:34

reporter   ~0016064

A few issues have been raised on this but it has not been solved properly I believe. Here is my implementation.

1) Add Function to the helper_api
function helper_get_tabindex() {
static $t_index = 1;

    $t_index = $t_index + 1;

    return "tabindex=\"$t_index\"";
}

2) And in the custom_field_api

function print_custom_field_input( $p_field_def, $p_bug_id = null ) {
$t_tabindex = helper_get_tabindex();
etc...

And add tabindex property to all html echo statements, for example

echo '<select name="customfield' . $t_id . '[]"' . $t_tabindex . ' size="' . $t_list_size . '" multiple>';

3) The bug_report_page.php should also be changed to replace all hard coded tabindex references with a call to this new helper function. For example for the category field which is hardcoded to be the first one (and which in all likelihook it will remain :-> ):

<select <?php echo helper_get_tabindex() ?> name="category">
?php print_category_option_list( $f_category ) ?>
</select>