diff options
author | Kaloyan Chehlarski <[email protected]> | 2025-05-16 11:20:40 +0200 |
---|---|---|
committer | Kaloyan Chehlarski <[email protected]> | 2025-06-05 22:46:54 +0000 |
commit | 245e1dacc930f52e8d6f09178e3942c33e785b10 (patch) | |
tree | 847dc4c8e4068014a2a48c43f21c2cd2fb1895b9 /tests/auto/pdf/qpdfdocument/tst_qpdfdocument.cpp | |
parent | 80547b9d786ee4773cabe9c610a5ad60569cf61a (diff) |
QAccessible::Paragraph maps to a Text control on Windows, which
causes Narrator to completely ignore its child nodes. Since even a
simple <p>Content</p> generates two nodes, a nameless parent
kParagraph and a named child kStaticText, the result is that
Narrator will see a Text node with no name, and simply read "text".
This change maps the kParagraph role to QAccessible::Grouping, which
allows Narrator to see its child nodes and read their contents aloud.
Fixes: QTBUG-134055
Pick-to: 6.10 6.9 6.8
Change-Id: I96d4262bd4149f1dec50d47491263d0b022d4b83
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
Diffstat (limited to 'tests/auto/pdf/qpdfdocument/tst_qpdfdocument.cpp')
0 files changed, 0 insertions, 0 deletions