-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.7.3, 6.10.0 FF
-
None
If one sets an accessible name for an item view then Qt reports the accessible name to assistive tools as Name (as expected), but also as Help text, as Value, as Accelerator and as any other type of string information (https://doc.qt.io/qt-6/qaccessible.html#Text-enum) except Description. On Windows, this makes NVDA read the accessible name two or three times when the item view gets focus.
Looking at the code it's clear why this happens:
QString QAccessibleTable::text(QAccessible::Text t) const { if (t == QAccessible::Description) return view()->accessibleDescription(); return view()->accessibleName(); }
https://code.qt.io/cgit/qt/qtbase.git/tree/src/widgets/accessible/itemviews.cpp#n592
I will submit a patch to codereview.qt-project.org that fixes the problem.
For Gerrit Dashboard: QTBUG-141051 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
683331,1 | a11y: Return correct string information for item views | dev | qt/qtbase | Status: NEW | +1 | 0 |