Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.8, 6.2.1
-
None
-
Tested on multiple Android devices, Samsung (Note 9), Google Pixel, etc..
-
-
b99fdae5f5 (qt/qtbase/dev) b99fdae5f5 (qt/tqtc-qtbase/dev) f256aeb293 (qt/tqtc-qtbase/5.15) 0090e34942 (qt/qtbase/6.3) 0090e34942 (qt/tqtc-qtbase/6.3) 2f0f459c4a (qt/qtbase/6.2) 2f0f459c4a (qt/tqtc-qtbase/6.2)
-
Team One Foundation Sprint 51
Description
Nested QML items with accessibility info within another item with accessibility info does not show up in the accessibility hierarchy on Android.
See the output of Appium Inspector for a failing case below:
If the `Accessible.name` is removed from the nesting/parent element, the nested/child accessibility element `rect_inside_center` shows up in the Appium Inspector:
There is a minimal reproducer in the attached zip archive: NestedAccessibleItemsIssue.zip
An educated guess is that this was introduced in this commit:
https://codereview.qt-project.org/c/qt/qtbase/+/325940
See the removal of addChild calls at line 339 here:
https://codereview.qt-project.org/c/qt/qtbase/+/325940/3/src/android/jar/src/org/qtproject/qt5/android/accessibility/QtAccessibilityDelegate.java#b339
(I have not tried to reintroduce the addChild code and compile Qt, so this is speculation.)
On iOS this is not an issue. (Tested.)
Attachments
Issue Links
- is blocked by
-
QTBUG-102744 QML items with Accessible properties set does not set properly for Android
- Closed
- mentioned in
-
Page Loading...
For Gerrit Dashboard: QTBUG-100545 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
394575,2 | Android A11Y: populate child elements when constructing node info | dev | qt/qtbase | Status: MERGED | +2 | 0 |
395677,2 | Android A11Y: populate child elements when constructing node info | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |
395678,2 | Android A11Y: populate child elements when constructing node info | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |
395683,3 | Android A11Y: populate child elements when constructing node info | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |