sw/uiconfig/swriter/ui/tocentriespage.ui |    4 ++++
 sw/uiconfig/swriter/ui/tocindexpage.ui   |    6 ++++++
 2 files changed, 10 insertions(+)

New commits:
commit fdf1c5f66ab350fba323db3fc78c9ad8e069e705
Author:     Parth Raiyani <[email protected]>
AuthorDate: Sat Jan 17 19:02:08 2026 +0530
Commit:     Caolán McNamara <[email protected]>
CommitDate: Thu Feb 26 18:08:36 2026 +0100

    add missing a11y support for GtkComboBoxText in tab pages from Toc dialog
    
    Signed-off-by: Parth Raiyani <[email protected]>
    Change-Id: I6d572d644dc41e978228992ab7bd3e3a05cdbb88
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198299
    Tested-by: Caolán McNamara <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200467

diff --git a/sw/uiconfig/swriter/ui/tocentriespage.ui 
b/sw/uiconfig/swriter/ui/tocentriespage.ui
index 89f943f6482a..575cb579f187 100644
--- a/sw/uiconfig/swriter/ui/tocentriespage.ui
+++ b/sw/uiconfig/swriter/ui/tocentriespage.ui
@@ -559,6 +559,7 @@
                             <property name="no-show-all">True</property>
                             <child internal-child="accessible">
                               <object class="AtkObject" 
id="authfield-atkobject">
+                                  <property name="AtkObject::accessible-name" 
translatable="yes" context="tocentriespage|authfield-atkobject">Authority 
field</property>
                                 <property 
name="AtkObject::accessible-description" translatable="yes" 
context="tocentriespage|extended_tip|authfield">To add an entry to the 
Structure line, click the entry, click in an empty box on the Structure line, 
and then click Insert.</property>
                               </object>
                             </child>
@@ -986,6 +987,7 @@
                         <property name="can-focus">False</property>
                         <property name="label" translatable="yes" 
context="tocentriespage|label15">_1:</property>
                         <property name="use-underline">True</property>
+                        <property name="mnemonic-widget">key1lb</property>
                       </object>
                       <packing>
                         <property name="left-attach">0</property>
@@ -1015,6 +1017,7 @@
                         <property name="can-focus">False</property>
                         <property name="label" translatable="yes" 
context="tocentriespage|label16">_2:</property>
                         <property name="use-underline">True</property>
+                        <property name="mnemonic-widget">key2lb</property>
                       </object>
                       <packing>
                         <property name="left-attach">0</property>
@@ -1027,6 +1030,7 @@
                         <property name="can-focus">False</property>
                         <property name="label" translatable="yes" 
context="tocentriespage|label17">_3:</property>
                         <property name="use-underline">True</property>
+                        <property name="mnemonic-widget">key3lb</property>
                       </object>
                       <packing>
                         <property name="left-attach">0</property>
diff --git a/sw/uiconfig/swriter/ui/tocindexpage.ui 
b/sw/uiconfig/swriter/ui/tocindexpage.ui
index 1e401a31d23f..bde8c5d981da 100644
--- a/sw/uiconfig/swriter/ui/tocindexpage.ui
+++ b/sw/uiconfig/swriter/ui/tocindexpage.ui
@@ -1260,6 +1260,9 @@
                 <property name="use-underline">True</property>
                 <property name="active">True</property>
                 <property name="draw-indicator">True</property>
+                <accessibility>
+                  <relation type="label-for" target="parastyle"/>
+                </accessibility>
                 <child internal-child="accessible">
                   <object class="AtkObject" id="useparastyle-atkobject">
                     <property name="AtkObject::accessible-description" 
translatable="yes" context="tocindexpage|extended_tip|useparastyle">Include 
paragraphs that have the selected style applied in the index.</property>
@@ -1276,6 +1279,9 @@
                 <property name="visible">True</property>
                 <property name="can-focus">False</property>
                 <property name="hexpand">True</property>
+                <accessibility>
+                  <relation type="labelled-by" target="useparastyle"/>
+                </accessibility>
                 <child internal-child="accessible">
                   <object class="AtkObject" id="parastyle-atkobject">
                     <property name="AtkObject::accessible-description" 
translatable="yes" context="tocindexpage|extended_tip|parastyle">Select the 
paragraph style for which you want to create index entries.</property>

Reply via email to