On Windows, macOS and iOS both text and description are read out. On Android the description is only used, when there is no name/text and the result is used in AccessibilityNodeInfo::setContentDescription while AccessibilityNodeInfo::setText is ignored. Using the content description only is right, because Android will prioritize description over text. So we need to do our own concatenation to use both. Using ", " as separator looks like the right way, because Android use it to separate the text from the role too. This was checked by enabling TalkBack settings -> Advanced settings -> Developer settings -> Display speech output. Fixes: QTBUG-128494 Pick-to: 6.10 Change-Id: Ib25e993ffc8614b9c9ccdc37207f2c3c496ecb1f Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%