Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Browsing through hw keys (was: Each radio buttons in a group as a focusable element ?)

0 views
Skip to first unread message

Antonio Gomes

unread,
Feb 22, 2007, 11:24:40 AM2/22/07
to dev-em...@lists.mozilla.org, Doug Turner
All,

I am back to work on improving default spatial navigation us. Now, I
am focusing on input and textareas like

NS_FORM_INPUT_TEXT
NS_FORM_INPUT_PASSWORD
NS_FORM_INPUT_FILE
NS_FORM_TEXTAREA

the idea would be if one of the above gets focused so:

1) it would be in highlight mode - setting
"browser.display.focus_ring_on_anything" preference to true
2) form would be editable/activated only if user press RETURN/ENTER,
so it would reach the current focus behavior: caret would take place,
it would be editable, and so on.
3) Otherwise, it user does not activate this form, pressing any arrow
would move focus on according to snav algorithm.
4) Also, if form is active, once user reaches edges of it through
arrows (e.g. last line in a textarea), spatial naviagation would move
it to next focusable element if any arrow is pressed.

anyways, I am stuck on 2) . What do you think I could solve it ?

--Antonio Gomes

0 new messages