openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

Focus not restored to previous element when popover is closed

Open RalphMarshall opened this issue 11 years ago • 3 comments

OpenUI5 version: 1.24.

Browser/version (+device/version): Safari on iOS8 with VoiceOver enabled.

Any other tested browsers/devices(OK/FAIL):

URL (minimal example if possible): https://openui5.hana.ondemand.com/explored.html#/sample/sap.m.sample.Popover/preview

Steps to reproduce the problem:

  1. Enable VoiceOver'
  2. Tap the "Show popover" button. Popover appears, focus goes to the title area.
  3. Tap the "Email" button. The popover vanishes and the "Email has been sent" message toast appears.
  4. VO cursor is now on the forward button of the browser,

What is the expected result? Focus should be returned to the Show Popover button where it was before opening the popover.

What happens instead? Focus goes to either a different element on the page or one of the browser controls. This seems to happen for most uses of popover, not just this example, despite there being code to restore focus

Any other information? (attach screenshot if possible)

RalphMarshall avatar Dec 23 '14 14:12 RalphMarshall

Thanks for reporting this issue Ralph!

as this issue is not reproducible on desktop browsers we will need to take a look at this issue on the device. I'm sure you will get a reply shortly after the holiday season :-)

internal incident created: 1472022793

Cheers and a happy new year, Michael

Michadelic avatar Dec 29 '14 09:12 Michadelic

Hi Ralph, sorry for the delay. I tried to reproduce this issue with iOS 9.0.1 and wasn't able to reproduce this issue.

Could you please tell which iOS you use? Or is this issue obsolete in the meantime?

KR, Ruben

rtuider avatar Sep 29 '15 11:09 rtuider

Hi Ralph, there is no activity for two months.

Closing the issue. Feel free to reopen the issue, if the issue persists and it`s relevant for you.

ilhan

ilhan007 avatar Dec 06 '16 14:12 ilhan007