How to manipulate where the focus of VoiceOver from Iphone will appear on the next screen when accessibility is active?

0

I have an Accessibility problem only on the Iphone, some APP pages are in Webview made in .aspx and these screens use a MultiView structure, that is, a single page .aspx can have several following screens and are loaded as if it were an ajaxs. When you click on a forward button the contents of the next screen are loaded and the marking of accessibility continues at the same point as the previous screen which was the forward button for example. Is there any way to determine where the focus of accessibility has to appear?

    
asked by anonymous 16.03.2017 / 15:01

1 answer

0

Well, after a lot of trying, I think that's what we managed to have a better result. The idea is to use the tabindex="- 1" and tag role="status" . You have to follow this combination to work.

     <script>
        function subirFoco() {
            if (navigator.platform.match(/iPhone|iPad/i)) {
                setTimeout(function () {
                    $('#foco').attr('tabindex', -1);
                    $('#foco').attr('role', 'status');
                    $('#foco').focus();
                }, 100);
            }
        }
    </script>
    
13.07.2017 / 16:07