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
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to