sw/uiconfig/swriter/ui/columnpage.ui |   12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

New commits:
commit 5f574c3226cb87f17272aaeca874a6f9f70af44f
Author:     Parth Raiyani <[email protected]>
AuthorDate: Thu Mar 26 09:39:14 2026 +0530
Commit:     Caolán McNamara <[email protected]>
CommitDate: Mon Mar 30 10:59:21 2026 +0200

    a11y: update accessibility for buttons to provide meaningful and distinct 
names
    
    issue:
    - existing labelled-by works and binds label with button but it announces 
'Column' for both next and previous button which confuse the user.
    
    Signed-off-by: Parth Raiyani <[email protected]>
    Change-Id: I616a36b9bfe3072678fb78d10b51200eb47e3f22
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202697
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>

diff --git a/sw/uiconfig/swriter/ui/columnpage.ui 
b/sw/uiconfig/swriter/ui/columnpage.ui
index 5163d268f8e5..0ff354b4f455 100644
--- a/sw/uiconfig/swriter/ui/columnpage.ui
+++ b/sw/uiconfig/swriter/ui/columnpage.ui
@@ -124,10 +124,6 @@
                       <attribute name="weight" value="bold"/>
                     </attributes>
                     <property name="xalign">0</property>
-                    <accessibility>
-                      <relation type="label-for" target="back"/>
-                      <relation type="label-for" target="next"/>
-                    </accessibility>
                   </object>
                   <packing>
                     <property name="left-attach">0</property>
@@ -360,11 +356,9 @@
                     <property name="receives-default">True</property>
                     <property name="image">image7</property>
                     <property name="always-show-image">True</property>
-                    <accessibility>
-                      <relation type="labelled-by" target="columnft"/>
-                    </accessibility>
                     <child internal-child="accessible">
                       <object class="AtkObject" id="back-atkobject">
+                        <property name="AtkObject::accessible-name" 
translatable="yes" context="columnpage|back-atkobject">Previous 
Column</property>
                         <property name="AtkObject::accessible-description" 
translatable="yes" context="columnpage|extended_tip|back">Moves the column 
display one column to the left.</property>
                       </object>
                     </child>
@@ -381,11 +375,9 @@
                     <property name="receives-default">True</property>
                     <property name="image">image8</property>
                     <property name="always-show-image">True</property>
-                    <accessibility>
-                      <relation type="labelled-by" target="columnft"/>
-                    </accessibility>
                     <child internal-child="accessible">
                       <object class="AtkObject" id="next-atkobject">
+                      <property name="AtkObject::accessible-name" 
translatable="yes" context="columnpage|next-atkobject">Next Column</property>
                         <property name="AtkObject::accessible-description" 
translatable="yes" context="columnpage|extended_tip|next">Moves the column 
display one column to the right.</property>
                       </object>
                     </child>

Reply via email to