summaryrefslogtreecommitdiff
path: root/svx/uiconfig/ui
diff options
context:
space:
mode:
authorAntony <antonydas.nadar@collabora.com>2024-04-04 13:10:16 +0530
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-04-05 12:59:30 +0200
commit2f15866d8502c74513e19f7a6e3074c97f162725 (patch)
treee4e96295ea2199d78ff1aa3528df9ac2404baf8f /svx/uiconfig/ui
parentae587c8f2892314da6c97a2e85b97845ede9b0e6 (diff)
a11y: Enable accessibility for comboboxes in sidebar
* Updated window.cxx:Window::DumpAsPropertyTree to include accessibility data in the output * Added accessibility info to comboboxes inside sidebarstylespanel.ui & sidebartextpanel.ui * Reverted unwanted ui version change introduced due to glade Change-Id: If6833c9f42dbab90fb6277ed932062d86cf53416 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165782 Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> (cherry picked from commit ca31493ad56647cf5d11dccaf70fa225327fab51) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165725 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'svx/uiconfig/ui')
-rw-r--r--svx/uiconfig/ui/sidebarstylespanel.ui5
-rw-r--r--svx/uiconfig/ui/sidebartextpanel.ui10
2 files changed, 15 insertions, 0 deletions
diff --git a/svx/uiconfig/ui/sidebarstylespanel.ui b/svx/uiconfig/ui/sidebarstylespanel.ui
index 8bbb37496770..4204801d024a 100644
--- a/svx/uiconfig/ui/sidebarstylespanel.ui
+++ b/svx/uiconfig/ui/sidebarstylespanel.ui
@@ -41,6 +41,11 @@
<property name="truncate-multiline">True</property>
</object>
</child>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="applystyle-atkobject">
+ <property name="AtkObject::accessible-name" translatable="yes" context="fontstyletoolbox|applystyle">Font style</property>
+ </object>
+ </child>
</object>
</child>
</object>
diff --git a/svx/uiconfig/ui/sidebartextpanel.ui b/svx/uiconfig/ui/sidebartextpanel.ui
index 97a92d97a0f5..b53b9e2e36c8 100644
--- a/svx/uiconfig/ui/sidebartextpanel.ui
+++ b/svx/uiconfig/ui/sidebartextpanel.ui
@@ -41,6 +41,11 @@
<property name="truncate-multiline">True</property>
</object>
</child>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="fontnamecombobox-atkobject">
+ <property name="AtkObject::accessible-name" translatable="yes" context="font|fontnamecombobox">Font</property>
+ </object>
+ </child>
</object>
</child>
</object>
@@ -78,6 +83,11 @@
<property name="truncate-multiline">True</property>
</object>
</child>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="fontsizecombobox-atkobject">
+ <property name="AtkObject::accessible-name" translatable="yes" context="font|fontsizecombobox">Font size</property>
+ </object>
+ </child>
</object>
</child>
</object>