Forum
November 2nd, 2014
A
A
A
Topic RSS
Related Topics
Offline
The forums are currently locked and only available for read only access



Focus doesn't seem to follow row selection.
21/09/2011
03:49
03:49

Charmaine
Member
Members
Forum Posts: 5
Member Since:
19/09/2011
19/09/2011

This test is in Firefox 6.0.2, using Firebug console to monitor behaviour.
With the Firebug console, running console.log(document.activeElement) displays the element that currently has focus. Using this, go to the Keyboard Navigation example page. Type this in the command line in advance and every time you hit 'Run' you'll get the current element.
- Select a row in the grid (You have to use the mouse, there is no way to get to it with the keyboard) and log the active element. Its ID will be the one for the row you clicked.
- Use the up/down arrow keys to select another row. The selection highlight follows your keystrokes, but if you log the active element again, it still says focus is attached to the original row.
- If you use [Tab] and then [Shift]+[Tab] focus will move to the page number selection field and then back to the grid (you can get back into the grid now, probably because there is a row already selected there). If you log the active element now, it will be for the currently selected row.
So there are two issues:
- If no row in the grid is already selected, the keyboard cannot be used to select a row in the grid.
- Document focus does not follow row selection.
Forum Timezone: Europe/Sofia
Most Users Ever Online: 715
Currently Online:
40 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66