Ticket #5830 (closed defect: fixed)

Opened 5 months ago

Last modified 5 months ago

tree: FF3 issue keyboard is broken. Items which have been expanded remain in the tab order

Reported by: becky Owned by: becky
Priority: normal Milestone: 1.1
Component: Dijit Version: 1.0
Severity: normal Keywords: FF3 a11y
Cc: becky, doughays

Description

once a tree item has been expanded it remains in the tab order. When focus leaves a tree item that has been expanded tabindex is not being reset back to -1

Change History

Changed 5 months ago by becky

Actually more is broken. Last item focused is not properly getting set into the tab order when the tree loses focus.

steps to reproduce first case:

  1. open dijit/tests/test_Tree.html
  2. tab to Continents then down arrow until Asia is reached
  3. press right arrow to expand Asia
  4. press left arrow to close Asia
  5. now press down arrow so focus is on Australia
  6. press shift-tab - focus will to go Asia - it should not.

steps to reproduce second case:

  1. open dijit/tests/test_Tree.html
  2. tab to Continents then down arrow until Africa is reached
  3. press right arrow to open Africa
  4. press down arrow to focus Egypt
  5. press tab (focus should go to the destroy button)
  6. press shift-tab - focus should go back to the last focused item in the tree (which in this case should be Egypt) and it does not.

#5784 depends upon this ticket

Changed 5 months ago by becky

  • status changed from new to assigned
  • owner set to becky

This seems to only be an issue in FF3 - I'll file a ticket

Changed 5 months ago by becky

  • keywords FF3 a11y added

Changed 5 months ago by becky

  • summary changed from tree: regression keyboard is broken. Items which have been expanded remain in the tab order to tree: FF3 issue keyboard is broken. Items which have been expanded remain in the tab order

Changed 5 months ago by becky

  • status changed from assigned to closed
  • resolution set to fixed

(In [12514]) fixes #5830, #5784 added onfocus event handler to the labelNode so that focus does not have to bubble to the tree. Tree.focusNode() remains and the labelNode onfocus event handler calls _onTreeFocus so as not to modify the api. Also added support for wai selected state. !strict

Changed 5 months ago by becky

(In [12520]) refs #5830 attach the onfocus event in the template rather than via dojo.connect in the code. !strict

Note: See TracTickets for help on using tickets.