Skip to content

bug: ion-menu not getting focus with iOS VoiceOver #23705

Closed
@mrambow

Description

@mrambow

Prequisites

Ionic Framework Version

  • v4.x
  • v5.x
  • v6.x

Current Behavior

Opening the ion-menu doesn't move the focus to the newly opened sidemenu. It just stays on the "old" menu button which is now hidden behind the menu. Using focus(), blur event or even click() does not help, focus is still in the background.
swiping left/right not doing anything

tapping somewhere on the menu helps, focus is on the menu and I can swipe left/right to the next elements.

Expected Behavior

Opening the sidemenu should move the focus to the sidemenu, like in toast, dialog and so on.

Steps to Reproduce

Opening the sidemenu starter project
adding capacitor iOS plattform
activating iOS voiceOver
opening sidemenu

Code Reproduction URL

https://ionicframework.com/docs/developing/starting

Ionic Info

Ionic:

Ionic CLI : 6.16.3 (C:\Users\mra\AppData\Roaming\npm\node_modules@ionic\cli)
Ionic Framework : @ionic/angular 5.6.8 (C:\Code\git\myProject\node_modules@ionic\angular)
@angular-devkit/build-angular : 12.0.4 (C:\Code\git\myProject\node_modules@angular-devkit\build-angular)
@angular-devkit/schematics : 12.0.4 (C:\Code\git\myProject\node_modules@angular-devkit\schematics)
@angular/cli : 12.0.4 (C:\Code\git\myProject\node_modules@angular\cli)
@ionic/angular-toolkit : 4.0.0 (C:\Code\git\myProject\node_modules@ionic\angular-toolkit)

Capacitor:

Capacitor CLI : 3.0.0
@capacitor/android : 3.0.0 (C:\Code\git\myProject\node_modules@capacitor\android)
@capacitor/core : 3.0.0 (C:\Code\git\myProject\node_modules@capacitor\core)
@capacitor/ios : 3.0.1-sinc.0 (C:\Code\git\myProject\node_modules@capacitor\ios)

Utility:

cordova-res : 0.14.0
native-run : 1.4.0

System:

NodeJS : v14.17.3 (C:\Program Files\nodejs\node.exe)
npm : 7.19.1
OS : Windows 10

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    a11yAccessibility related issuespackage: core@ionic/core packagetype: buga confirmed bug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions