is it possible to focus trap in modal popup when using talkback or voiceover? - focus

i have page with iframe
in the iframe when i click the button, popup will appear
when talback or voiceover is enabled, is it possible to focus trap only in the popup ?
so is it possible to achieve that i will be not able to move outside of the popup using swipe gesture ?
by outside i mean, than i will be not able to reach address bar or any other part of site or browser.
i found this
https://medium.com/#islam.sayed8/trap-focus-inside-a-modal-aa5230326c1b
but thats not working on mobile
am i right that its not possible as talback/voiceover are system functions ?
thanks

Related

The infamous "sticky" :hover on iPad - how does Google fix it?

I have unfortunately stumbled on the issue where, on iPad, a pop-up menu summoned by way of :hover does not disappear from the screen when the user touches an empty area of the page.
The problem is the same described here:
Hover Behavior on Desktop vs iPad
The menu is part of a template I bought, namely:
http://html.realia.byaviators.com/
But... wait a minute... it WORKS on the template's home page? And only on that page -- it doesn't work on any other page of that same template.
I was able to track the behavior down to the point where I found that the reason why it works is the following: initializing a Google map makes the menu behave properly. Just the simplest of maps, with the default options.
Now my question to the experts is: what is that Google does in the map initialization code in order to fix the :hover behavior?
Thank you very much in advance for your help!
Well, can't tell what is that Google does, however the solution is documented in mobile Safari developer's reference.
For a click event to be generated on an area of the document, there must be a click handler attached. For example, clicking on a div will generate a click event only if an onclick="void(0)" handle is presente:
Clicking here triggers event in mobile Safari

How to trigger GoBack() in WinRT XAML 8.1 WebView control with mouse back button?

I have a page in a WinRT XAML 8.1 app that is basically a full-page display made up of a WebView control, in order to display a web page.
For mouse users, it would be handy to be able to use the hardware mouse button that is included on many mice to go back a page in the WebView (not to the previous app page -- to the previous web page).
WinRT 8.1 is nicely programmed out of the box to respond to the hardware mouse back button and go back a page in an app. But when the mouse is hovered over the WebView control, the app does not respond to the hardware mouse back button at all. Move the mouse off the WebView, and pressing the hardware mouseback button moves to the previous app page.
SO the question is how do I detect the mouse back button when the mouse is hovering over the WebView control so I can issue a GoBack() command to the WebView control?
Manipulation events and certain mouse events (like these, it appears) are not forwarded through the WebView. There is no satisfactory workaround.

Is there a way with Xamarin.Forms to detect the software keyboard in my iOS app?

I have a Xamarin.Forms application with a login screen. I have added code to move the controls out of the way, when one of the Entry fields gets focus. I move the views back down in the Unfocus event handlers. In the simulator I can prevent the software keyboard from popping up. Unfortunately my event handlers still move the view up and down even without the keyboard.
Is there a way to detect the keyboard's appearance in Xamarin.Forms, while in the event handlers on the ContentPage?
I don't think there is support for this out of the box and thus I'd go with DependencyService and implement it by myself.
You could use ContentPage.LayoutChanged event.
It works because the keyboard doesn't display over the content page as one would guess, but under it, in the same layer, so it push the page up.

Back button physical

I work on jquery mobile with phonegap
I would like to detect a click on the physical back button to close my popup.
Currently when I click on that button on a mobile support, it returns me to the page visited previously, I think it only uses the history.
If this is not possible in pure js, then maybe just block this physical button.
Thanks

Blackberry Popup Layer Puzzle

I come from blackberry support forum, and got to solve this soon. any tips will be great.
I wanna a layer overlay in main UI which will not obtain all focus, ie, click volume button to open then click again to close. Just like opera's swipe out menu.
http://supportforums.blackberry.com/t5/Java-Development/Popup-Layer-Puzzle/m-p/1403821#M181020
The behaviour you are expecting is not possible using popupscreen. How about using an approach were you do not use the popupScreen.
I would try to do the following.
In the main screen with play/pause, when the user presses on Volume button, add the volume control slider on the screen as a field rather than pushing a popupscreen.
When the user finishes adjusting the volume, and he presses on another button, delete the volume slider field.In this way, you have control for all the buttons on the screen.
On another note, how about just using the volume control buttons on the side?

Resources