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

forceActiveFocus() moves the screen reader only once

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7.2
    • None
    • Android, iOS/tvOS/watchOS, macOS

    Description

      When moving the screen reader's focus to some reasonable element by calling forceActiveFocus(), it is indeed moved on the first call. However, this does not work a second time as the underlying QQuickItem still "has" the focus. The MWE from QTBUG-126622 applies here as well.

      For iOS/macOS there seems to be suitable callbacks:

      https://developer.apple.com/documentation/objectivec/nsobject/1615183-accessibilityelementdidbecomefoc?changes=la&language=objc

      https://developer.apple.com/documentation/objectivec/nsobject/1615082-accessibilityelementdidlosefocus?changes=la&language=objc

      Do these need to set/reset the Item's focus property.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes