Hey all,

I have been trying to improve "spatial navigation [1]"
behavior/algorithm in some aspects. Two of them are:

* whenever INPUT/FORM (e.g. comboboxes, textarea ...) elements get
focused via snav, it is hard to get focus out of them and move on.

* when a radio button group gets the focus, it is not possible to get
focus out of this group at all: pressing any arrows switches focus
only inside the same radio button group - snav HandleMove method [2]
is not even called.

For the former I have an idea to solve it. For the later, one possible
solution might be each radio button (in a group) to be a focusable
element, instead of treating the whole group as a single focusable
element. Does it make sense ? If so, how could it be implemented ?

[1] http://lxr.mozilla.org/seamonkey/source/extensions/spatialnavigation/
[2] 
http://lxr.mozilla.org/seamonkey/source/extensions/spatialnavigation/src/nsSpatialNavigation.cpp#542

regards

--
--Antonio Gomes
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to