Opened 12 years ago

Closed 12 years ago

#4773 closed defect (fixed)

Tree focus indication keyboard/mouse interaction problems

Reported by: simonjb Owned by: simonjb
Priority: high Milestone: 1.0
Component: Accessibility Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

I'm seeing 2 keyboard/mouse focus interaction problems with the tree on FF2 on Windows.

First issue:

  1. open dijit/tests/test_Tree.html
  2. tab to the first tree
  3. use down arrow to focus "Africa"
  4. click with the left mouse button on "Asia"
  5. dismiss the alert that opens

Expect: focus on "Asia"

Actual: focus is actually on "Asia" but it looks like "Africa" is focused too

Second issue:

  1. open dijit/tests/test_Tree.html
  2. tab to the first tree
  3. use down arrow to focus "Africa"
  4. click with the left mouse button to the right of "Asia" (not on the actual word)
  5. dismiss the alert that opens

Expect: either focus to be on "Asia" (the alert opened so it must have received the event like above)

Actual: focus is nowhere but it looks like it is on "Africa"

I suspect we have some focus-synchronization problems. The tree thinks something is focused but the browser has a different idea.

On IE6 and IE7, the behaviour is different:

  • in both the first and second situation above, focus actually goes to "Asia" but no node has visual focus indication

Attachments (1)

4773.diff (1.9 KB) - added by simonjb 12 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 12 years ago by simonjb

Owner: changed from Becky Gibson to simonjb
Status: newassigned

Changed 12 years ago by simonjb

Attachment: 4773.diff added

comment:2 Changed 12 years ago by simonjb

Added diff. Needs more testing (particularly on IE) but nearly there I think.

comment:3 Changed 12 years ago by simonjb

Resolution: fixed
Status: assignedclosed

(In [11237]) Fixes #4773: Tree focus indication keyboard/mouse interaction problems and fixes #4876: Extra tab stop at tree root. On IE the focus outline is not shown after an alert is dismissed. This is a general IE behavior. If no alert is opened the outline is shown on IE after a click.

Note: See TracTickets for help on using tickets.