sw/uiconfig/swriter/ui/tocindexpage.ui |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

New commits:
commit 5457d6fd9f05e113d2130ea801303f89fd3b49be
Author:     Parth Raiyani <[email protected]>
AuthorDate: Thu Nov 20 12:02:02 2025 +0530
Commit:     Szymon Kłos <[email protected]>
CommitDate: Thu Nov 27 05:10:53 2025 +0100

    accessibility: use proper aria attributes for title GtkEntry
    
    Signed-off-by: Parth Raiyani <[email protected]>
    Change-Id: If31c5a2e0f46459d88f467009613aa14b41f625c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194232
    Reviewed-by: Szymon Kłos <[email protected]>
    Code-Style: Szymon Kłos <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>

diff --git a/sw/uiconfig/swriter/ui/tocindexpage.ui 
b/sw/uiconfig/swriter/ui/tocindexpage.ui
index c1bda920dfea..41147b08c2f6 100644
--- a/sw/uiconfig/swriter/ui/tocindexpage.ui
+++ b/sw/uiconfig/swriter/ui/tocindexpage.ui
@@ -160,6 +160,9 @@
                         <property name="AtkObject::accessible-description" 
translatable="yes" context="tocindexpage|extended_tip|readonly">Prevents the 
contents of the index from being changed.</property>
                       </object>
                     </child>
+                    <accessibility>
+                      <relation type="label-for" target="title"/>
+                    </accessibility>
                   </object>
                   <packing>
                     <property name="left-attach">0</property>
@@ -173,11 +176,9 @@
                     <property name="hexpand">True</property>
                     <property name="activates-default">True</property>
                     <property name="truncate-multiline">True</property>
-                    <child internal-child="accessible">
-                      <object class="AtkObject" id="title-atkobject">
-                        <property name="AtkObject::accessible-description" 
translatable="yes" context="tocindexpage|extended_tip|title">Enter a title for 
the selected index.</property>
-                      </object>
-                    </child>
+                    <accessibility>
+                      <relation type="labelled-by" target="usetitle"/>
+                    </accessibility>
                   </object>
                   <packing>
                     <property name="left-attach">1</property>

Reply via email to