Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.9.0
-
None
Description
The mapping of QAccessible::Paragraph is inconsistent:
The role seems to be inspired by the ATSPI-Role Paragraph, where it is referred as
"An object which is contains a single paragraph of text content."
Neither Windows nor macOS have a specific paragraph role, so they map it to an available role:
Linux: ATSPI_ROLE_PARAGRAPH (in qspiaccessiblebridge.cpp)
Windows: UIA_TextControlTypeId (in qwindowsuiautils.cpp)
macOS: NSAccessibilityGroupRole (in qcocoaaccessibility.mm)
For consistency, I would expect the macOS role to be NSAccessibilityStaticTextRole here.