sw/uiconfig/swriter/ui/sidebarwrap.ui |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit bea114bf80b8ba1a45e8313642c7d274d9d882a2
Author:     Parth Raiyani <[email protected]>
AuthorDate: Wed Dec 31 20:56:31 2025 +0530
Commit:     Szymon Kłos <[email protected]>
CommitDate: Mon Jan 12 06:34:25 2026 +0100

    a11y: fix mnemonic-widget with labelled-by to correctly link Toolbar to 
label
    
    problem:
    spacingLB GtkComboBoxText is referenced by spacing label as well as wrap 
GtkLabel both which is incorrect.
    
    fix:
    Wrap GtkLabel is now points to correct wrapoptions GtkToolbar instead of 
spacingLB GtkComboBoxText
    
    Change-Id: I7e521baef77953d9ba4e763c9efcfcae2fbc2fa8
    Signed-off-by: Parth Raiyani <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194520
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Szymon Kłos <[email protected]>

diff --git a/sw/uiconfig/swriter/ui/sidebarwrap.ui 
b/sw/uiconfig/swriter/ui/sidebarwrap.ui
index 73a703087509..740625fdfe35 100644
--- a/sw/uiconfig/swriter/ui/sidebarwrap.ui
+++ b/sw/uiconfig/swriter/ui/sidebarwrap.ui
@@ -43,12 +43,11 @@
           </packing>
         </child>
         <child>
-          <object class="GtkLabel" id="label2">
+          <object class="GtkLabel" id="wrapLB">
             <property name="visible">True</property>
             <property name="can-focus">False</property>
             <property name="label" translatable="yes" 
context="sidebarwrap|label2">Wrap:</property>
             <property name="use-underline">True</property>
-            <property name="mnemonic-widget">spacingLB</property>
             <property name="xalign">0</property>
           </object>
           <packing>
@@ -68,6 +67,9 @@
                 <property name="toolbar-style">icons</property>
                 <property name="show-arrow">False</property>
                 <property name="icon_size">2</property>
+                <accessibility>
+                  <relation type="labelled-by" target="wrapLB"/>
+                </accessibility>
                 <child>
                   <object class="GtkRadioToolButton" id=".uno:WrapOff">
                     <property name="visible">True</property>

Reply via email to