sw/uiconfig/swriter/ui/tocentriespage.ui |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)

New commits:
commit f69ebec71ad1b1a64cd7b4e6ad087b351594c1d2
Author:     Parth Raiyani <[email protected]>
AuthorDate: Thu Nov 20 16:34:45 2025 +0530
Commit:     Szymon Kłos <[email protected]>
CommitDate: Fri Nov 28 13:46:05 2025 +0100

    accessibility: enhance accessibility features in tocentriespage UI
    
    Signed-off-by: Parth Raiyani <[email protected]>
    Change-Id: Iabbfd1beb80ddd8abd295d7c75b780ee74410798
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194261
    Reviewed-by: Szymon Kłos <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>

diff --git a/sw/uiconfig/swriter/ui/tocentriespage.ui 
b/sw/uiconfig/swriter/ui/tocentriespage.ui
index b99d01e5954f..2c2d5183d6c3 100644
--- a/sw/uiconfig/swriter/ui/tocentriespage.ui
+++ b/sw/uiconfig/swriter/ui/tocentriespage.ui
@@ -91,6 +91,9 @@
                     <property name="headers-clickable">False</property>
                     <property name="search-column">0</property>
                     <property name="show-expanders">False</property>
+                    <accessibility>
+                      <relation type="labelled-by" target="levelft"/>
+                    </accessibility>
                     <child internal-child="selection">
                       <object class="GtkTreeSelection" 
id="treeview-selection1"/>
                     </child>
@@ -122,6 +125,14 @@
                     <attributes>
                       <attribute name="weight" value="bold"/>
                     </attributes>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="levelft-atkobject">
+                        <property 
name="AtkObject::accessible-role">static</property>
+                      </object>
+                    </child>
+                    <accessibility>
+                      <relation type="label-for" target="level"/>
+                    </accessibility>
                   </object>
                   <packing>
                     <property name="expand">False</property>
@@ -138,6 +149,11 @@
                     <attributes>
                       <attribute name="weight" value="bold"/>
                     </attributes>
+                    <child internal-child="accessible">
+                      <object class="AtkObject" id="typeft-atkobject">
+                        <property 
name="AtkObject::accessible-role">static</property>
+                      </object>
+                    </child>
                   </object>
                   <packing>
                     <property name="expand">False</property>

Reply via email to