Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-119724

Focused a11y element is out of view

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.5.3
    • None
    • iOS/tvOS/watchOS

      The attached MWE uses a Flickable with content that is larger than the screen.
      While the iOS a11y support correctly tells iOS VoiceOver about all the elements (even the invisible ones), the view will not move if the VoiceOver's focus moves to the first element out of view.

      The same behavior goes for QML ListView.

      It would be nice if the View moved its content to show the newly focused a11y element.

      Note:
      The lines

      Accessible.onScrollDownAction: contentY = Math.min(contentY + height, contentHeight - height)
      Accessible.onScrollUpAction: contentY = Math.max(0, contentY - height)
      

      would scroll the view up/down if a scroll signal was emit from the a11y backend.

        1. MWE.qml
          1 kB
          Jan Möller
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            janmoeller Jan Möller
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes