vcl/qt5/QtAccessibleWidget.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 84929c43df529ad9fcb6382349015b3d9aa2e202 Author: Michael Weghorn <m.wegh...@posteo.de> AuthorDate: Wed Jul 24 11:24:13 2024 +0200 Commit: Michael Weghorn <m.wegh...@posteo.de> CommitDate: Wed Jul 24 18:20:52 2024 +0200 tdf#155447 qt a11y: Map TEXT_FRAME role to QAccessible::Pane This makes the "sentence" drawing area from the spelling dialog (cui/uiconfig/ui/spellingdialog.ui) show up with role panel instead of "unknown" in Accerciser when using the qt6 VCL plugin. This is the same as with gtk3, where the `TEXT_FRAME` role is mapped to `ATK_ROLE_PANEL`. Change-Id: I41133c51c64749ccd808cb675fe647a0daefac33 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170944 Reviewed-by: Michael Weghorn <m.wegh...@posteo.de> Tested-by: Jenkins diff --git a/vcl/qt5/QtAccessibleWidget.cxx b/vcl/qt5/QtAccessibleWidget.cxx index 21c5f1477fb3..fc2846fc34f3 100644 --- a/vcl/qt5/QtAccessibleWidget.cxx +++ b/vcl/qt5/QtAccessibleWidget.cxx @@ -516,7 +516,7 @@ QAccessible::Role QtAccessibleWidget::role() const case AccessibleRole::TEXT: return QAccessible::EditableText; case AccessibleRole::TEXT_FRAME: - return QAccessible::UserRole; + return QAccessible::Pane; case AccessibleRole::TOGGLE_BUTTON: return QAccessible::Button; case AccessibleRole::TOOL_BAR: