diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2022-08-04 09:42:15 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2022-08-04 16:19:08 +0200 |
commit | 7f5cab0cf4aa25cf3b84a39b0f9e41de51928fbc (patch) | |
tree | d654258bdf23eef4c2ef682b8ee69420b27e330b /vcl | |
parent | cca71aa4c5b79302a4f30c5ab5582da2b9d378e8 (diff) |
qt a11y: Map BUTTON_{DROPDOWN,MENU} to Qt equivalents
There are specialised roles for these 2 button types
in Qt as well.
Change-Id: I67f49f0c4afc5f20a8c42fa2388f08ea9d950b91
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137785
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/qt5/QtAccessibleWidget.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/qt5/QtAccessibleWidget.cxx b/vcl/qt5/QtAccessibleWidget.cxx index 367981b8678a..789de70d1311 100644 --- a/vcl/qt5/QtAccessibleWidget.cxx +++ b/vcl/qt5/QtAccessibleWidget.cxx @@ -475,9 +475,9 @@ QAccessible::Role QtAccessibleWidget::role() const case AccessibleRole::VIEW_PORT: return QAccessible::UserRole; case AccessibleRole::BUTTON_DROPDOWN: - return QAccessible::Button; + return QAccessible::ButtonDropDown; case AccessibleRole::BUTTON_MENU: - return QAccessible::Button; + return QAccessible::ButtonMenu; case AccessibleRole::CAPTION: return QAccessible::StaticText; case AccessibleRole::CHART: |