Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.9.0
-
None
Description
QQC2's Page self-identifies as a PageTab in qquickpage.cpp:462:
QAccessible::Role QQuickPage::accessibleRole() const { return QAccessible::PageTab; }
This seems semantically incorrect: PageTab is for tabs in PageTabLists; it's what you use to switch tabs, not the tab contents.
See the QAccessible::Role documentation:
.bq QAccessible::PageTab 0x00000025 A page tab that the user can select to switch to a different page in a dialog.
or the AT-SPI documentation:
.bq 37 - ATSPI_ROLE_PAGE_TAB: An object that is a child of a page tab list.
It's not quite clear to me what the correct role should be - possibly Pane or Grouping. But PageTab seems clearly wrong, and misleading as it makes it unclear whether the user is on the tab button that opens/switches to the page, or the page itself.