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

[Android][A11y] Accessible.focusable is wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.7.2
    • None
    • Android

      App.qml is a minimal example. We stripped down our custom text implementation we use on Mobile and Desktop. The functions related to the links are only enabled for Desktop in our application because Mobile already works fine with A11y. But this implementation cause a Bug on Android A11y.

      Using the minimal example with enabled TalkBack shows, that `Accessible.focusable` is false. TalkBack is still selecting "something" (the parent?) with the blue border. However, the text is read out correctly. See

      When we replace

      Accessible.role: hasLink ? Accessible.Button : Accessible.StaticText
      

      with

      Accessible.role: Accessible.StaticText
      

      the result is as expected and `Accessible.focusable` is true. See

      But in both cases `Accessible.role` will evaluate to `Accessible.StaticText`. What is wrong there?

        1. App.qml
          1 kB
          Lars Schmertmann
        2. bug.jpg
          83 kB
          Lars Schmertmann
        3. works.jpg
          66 kB
          Lars Schmertmann
        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
            larss Lars Schmertmann
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes