nhsuk-frontend icon indicating copy to clipboard operation
nhsuk-frontend copied to clipboard

Continue button auto focuses to wrong element on iOS 17 voiceover

Open roshaanbajwa opened this issue 1 year ago • 2 comments

Bug Report

Continue button auto focuses to wrong element on iOS 17 voiceover. When the continue button is clicked, it doesn’t indicate anything to voiceover user that the focus state has been moved to the next page's continue button (as opposed to the page's header).

What was the environment where this issue occurred?

  • Device: iPhone
  • Operating System: iOS 17

roshaanbajwa avatar Jan 08 '24 11:01 roshaanbajwa

This is a known issue in Voiceover unfortunately @roshaanbajwa - you will often find in Voiceover that it focuses on whatever is on the next page at around the same x,y location as the button that was clicked. It's been a while since I investigated this, but last time I did I came up with the following two links:

https://www.applevis.com/bugs/ios/voiceover-focus-may-spontaneously-jump-another-ui-element-most-typically-soon-after

and

https://lists.w3.org/Archives/Public/w3c-wai-ig/2015AprJun/0022.html

Basically this is a Voiceover bug, and I struggle to see how we would fix it without resorting to manually placing the focus onto something like the <h1> on page load, which feels like a very uncomfortable thing to be doing :-|

We dismissed it as "can't fix" on 111 online. But I'd be very interested to hear other's thoughts on this.

andymantell avatar Jan 08 '24 13:01 andymantell

Ah sad to hear it's just a voiceover bug - thanks for the update Andy

roshaanbajwa avatar Jan 09 '24 09:01 roshaanbajwa