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

[Android][A11y] Accessible.focusable is wrong

    XMLWordPrintable

Details

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

    Description

      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?

      Attachments

        1. App.qml
          1 kB
        2. bug.jpg
          bug.jpg
          83 kB
        3. works.jpg
          works.jpg
          66 kB

        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
              larss Lars Schmertmann
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes