Autogenerated forms do not have correct tab order

Bug #2110 reported by David Allouche
82
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
James Henstridge

Bug Description

When the focus is on the last item of an autogenerated form, pressing Tab should focus the "Change" button.
Currently, it focuses a portlet or the copyright terms link instead.

description: updated
Revision history for this message
Christian Reis (kiko) wrote :

Does this still occur?

Revision history for this message
David Allouche (ddaa) wrote :

A quick inspection showed a few forms (on launchpad.net) where that still occurs:

The product edit page:
 https://launchpad.net/products/automake/+edit

The product admin page:
https://launchpad.net/products/automake/+review

The series admin page:
https://launchpad.net/products/automake/+series/main/+review

The milestone creation page:
https://launchpad.net/products/automake/+addmilestone

The series package linkage page:
https://launchpad.net/products/automake/+series/main/+addpackage

The release creation page:
https://launchpad.net/products/automake/+series/main/+addrelease

Some more aggressively broken ones:

The product creation page:
https://launchpad.net/products/+new

The product creation page:
https://launchpad.net/products/+new

Here, starting on the first form input, pressing tab once sends the focus to the submit button, pressing tab again sends focus somewhere in the landscape, and many more tabs are required to reach the second form input.

Just from a cursory look on the forms I'm familiar with, this is by no mean exhaustive.

Revision history for this message
Jon Wood (jon-instance-design) wrote :

The account activation page (where you fill in your details after getting a token) also does this, and managed to completely throw me off for five minutes or so.

Dafydd Harries (daf)
Changed in launchpad:
status: Unconfirmed → Confirmed
Revision history for this message
Martin Pool (mbp) wrote :

It also happens when editing bug details (e.g. changing description). I would heartily like this fixed.

Revision history for this message
Martin Pool (mbp) wrote :

Also happens when adding a bug attachment:

 https://launchpad.net/products/launchpad/+bug/34880/+addattachment

Revision history for this message
Martin Pool (mbp) wrote :
Revision history for this message
Brad Bollenbach (bradb) wrote :

kiko, any chance of prioritizing this?

Revision history for this message
James Henstridge (jamesh) wrote :

I've got some fixes in my formlib branch to allow us to set focus on the initial form widget without the tabindex problems.

So this bug should gradually go away as we switch to the new form view classes.

Revision history for this message
Burhan Khalid (burhankhalid) wrote :

Any update on this? The bug still persists in the new products page.

Revision history for this message
James Henstridge (jamesh) wrote :

Burhan: our new form infrastructure allows us to set the form focus without screwing up the tabbing order. However, this only affects forms using the new infrastructure. We'll be moving all the forms over eventually, but for now the majority of the forms are still on the old infrastructure.

Perhaps we should make it a priority to migrate all the forms that are explicitly setting tabindex. That'd fix most of the user visible problems.

Revision history for this message
James Henstridge (jamesh) wrote :

I've merged a branch that gets rid of the tabindex usage outside of the Rosetta forms (where they seem to have taken care to assign tabindex to all the items that should be in the primary focus chain).

Together with the fixes for LaunchpadFormView, I think we can consider this bug fixed.

Changed in launchpad:
assignee: nobody → jamesh
status: Confirmed → Fix Committed
Revision history for this message
James Henstridge (jamesh) wrote :

fix included in today's rollout

Changed in launchpad:
status: Fix Committed → Fix Released
Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 2110] Re: Autogenerated forms do not have correct tab order

On 22/11/2006, at 10:38 PM, James Henstridge wrote:

> fix included in today's rollout

you rock!

--
Martin

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.