Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.7.3
-
None
Description
We're trying to set the screenreader's focus to some useful text if a new View is shown.
This should help the users to better navigate and unterstand the App.
However, this does not work reliably when calling the forced focus change in Component.onCompleted.
See attached MWE App.qml to apprehend what we're trying to achieve. Upon a View change, the "helpful" text should automatically be focussed. Moving the screenreader's focus only works if it's called delayed using a QML Timer.
Furthermore, as shown in Screen Recording 2024-10-30 at 09.34.19.mov (on macOS), the screenreader's focus is retained in the "invisible" StackView initialItem after clicking the button. It is possible to further "click" this button with the VoiceOver combination "CTRL + OPTION + Space", more Views are pushed in this case. One needs to pop these as many times as they are pushed before returning to the initialItem (also shown in the screencast).
Are we missing something here?