Focusing in the right field - focus

in my app, I have a popup-dialog with an editable field where I enter a search string. Thus I have a second container in the dialog, where I show the results and two buttons for OK and CANCEL. When the popup shows, the VKB is activated but the field does not get automatically focused. So I have to press in the field. Is there a solution to make it happen automatically?

Related

State change when back button click

I'm implementing search function on my project. I have three text boxes and a search button
Fist Name
Second Name
Age
Search button generate search on another result page. The problem is that, when I click back button from the result page, Then the Age text box filled with first Name data which I enter previously and first name field remains empty. How did it happen.

Detect option that currently scroll at in select element - webView iOS

Currently, I'm having a problem with the select element in webView iOS.
I wonder if there is a way to detect which option that the user is currently scroll at, not yet selected (click on "Done" button). Or maybe an event when user tap ">" button on the keyboard.
My scenario is that I need to detect which value user select on Profession, which will determine show/hide of the Employer field next to it.
So when the user click ">" then it should show the Employer field and navigate to that field.
Which it does now is navigate and to the "Gross annual salary in CHF" and then show the field "Employer" and hide the keyboard as it detects new input element.
The web is implemented by JSF + Primefaces.

Selection of Popup Button clearing UI Text Field

I've been developing a programming where the user can select a list of fields from popup buttons, then they press a calculate button and then depending on the choices, a string of text gets outputted to a UIText Field.
However I would like for the text field to be cleared when the user starts selecting other choices in the popup button before pressing the select button.
Is there anyway this is possible?
Just right this code in the place where that happens:
/*You can replace theTextFieldYouAreTalkingAbout with the one you are talking about*/
theTextFieldYouAreTalkingAbout.text = ""

How to show keyboard programmatically in Firefox OS?

I am working on a ToDo list app wherein I keep the focus on the textbox input after the user adds a ToDo item.
Now, the problem is, when the user adds some text input and hits the add button, the focus on the textbox is lost so the keyboard disappears and then the focus gets back to the textbox. So, the keyboard disappears and appears again in a short interval. As you can imagine, this is bad UX.
How do I set the keyboard to be shown explicitly when the focus is on the input button?
I fixed it by setting the focus onto the textbox first when I click the add button then do the actual adding stuff.

Voiceover not focusing on next form field

I have a long HTML form that I am trying to make accessible to Voiceover. When I click into a field, interact with it, and then click Done on the keyboard, after a short delay Voiceover is focusing on what appears to be the field most centered on the screen rather than the next element. I tried adding explicit tabindex to all the fields and this did not help. It is not always reproducable, it sometimes works as expected.
Is this expected behavior for Voiceover? Would a user not expect "Done" to take them to the next field (seems like maybe a dumb question since there is also a "Next" button, which works fine)? But as a sighted user I know the "Done" button when I am interacting with a field just means I am done with that field and want to go on to the next action, field whatever.
"Done" dismisses editing mode on VoiceOver. A VoiceOver user would not expect that tapping "done" moves the VO cursor.

Resources