cui/uiconfig/ui/textflowpage.ui |   14 ++------------
 solenv/sanitizers/ui/cui.suppr  |    2 --
 2 files changed, 2 insertions(+), 14 deletions(-)

New commits:
commit 3aeedcc4afbddfb4d459b81317d8a1ff0bd37178
Author:     Parth Raiyani <[email protected]>
AuthorDate: Sat Nov 22 20:32:25 2025 +0530
Commit:     Szymon Kłos <[email protected]>
CommitDate: Mon Jan 12 06:33:10 2026 +0100

    Improves accessibility for split options by providing correct accessible 
name
    
    Signed-off-by: Parth Raiyani <[email protected]>
    Change-Id: I31169a1ea37e4a4d1ed59d9012511a65d4cff86c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194366
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Szymon Kłos <[email protected]>

diff --git a/cui/uiconfig/ui/textflowpage.ui b/cui/uiconfig/ui/textflowpage.ui
index cbfa4fc69e1a..8b0b47d117e3 100644
--- a/cui/uiconfig/ui/textflowpage.ui
+++ b/cui/uiconfig/ui/textflowpage.ui
@@ -767,9 +767,6 @@
                 <property name="use-underline">True</property>
                 <property name="inconsistent">True</property>
                 <property name="draw-indicator">True</property>
-                <accessibility>
-                  <relation type="label-for" target="spinOrphan"/>
-                </accessibility>
                 <child internal-child="accessible">
                   <object class="AtkObject" id="checkOrphan-atkobject">
                     <property name="AtkObject::accessible-description" 
translatable="yes" context="textflowpage|extended_tip|checkOrphan">Specifies 
the minimum number of lines in a paragraph before a page break. Select this 
check box, and then enter a number in the Lines box.</property>
@@ -792,9 +789,6 @@
                 <property name="use-underline">True</property>
                 <property name="inconsistent">True</property>
                 <property name="draw-indicator">True</property>
-                <accessibility>
-                  <relation type="label-for" target="spinWidow"/>
-                </accessibility>
                 <child internal-child="accessible">
                   <object class="AtkObject" id="checkWidow-atkobject">
                     <property name="AtkObject::accessible-description" 
translatable="yes" context="textflowpage|extended_tip|checkWidow">Specifies the 
minimum number of lines in a paragraph in the first page after the break. 
Select this check box, and then enter a number in the Lines box.</property>
@@ -813,11 +807,9 @@
                 <property name="activates-default">True</property>
                 <property name="truncate-multiline">True</property>
                 <property name="adjustment">adjustment5</property>
-                <accessibility>
-                  <relation type="labelled-by" target="checkOrphan"/>
-                </accessibility>
                 <child internal-child="accessible">
                   <object class="AtkObject" id="spinOrphan-atkobject">
+                    <property name="AtkObject::accessible-name" 
translatable="yes" context="textflowpage|spinOrphan-atkobject">No split at 
beginning of paragraph, lines</property>
                     <property name="AtkObject::accessible-description" 
translatable="yes" context="textflowpage|extended_tip|spinOrphan">Specifies the 
minimum number of lines in a paragraph before a page break. Select this check 
box, and then enter a number in the Lines box.</property>
                   </object>
                 </child>
@@ -835,11 +827,9 @@
                 <property name="truncate-multiline">True</property>
                 <property name="adjustment">adjustment6</property>
                 <property name="numeric">True</property>
-                <accessibility>
-                  <relation type="labelled-by" target="checkWidow"/>
-                </accessibility>
                 <child internal-child="accessible">
                   <object class="AtkObject" id="spinWidow-atkobject">
+                    <property name="AtkObject::accessible-name" 
translatable="yes" context="textflowpage|spinWidow-atkobject">No split at end 
of paragraph, lines</property>
                     <property name="AtkObject::accessible-description" 
translatable="yes" context="textflowpage|extended_tip|spinWidow">Specifies the 
minimum number of lines in a paragraph in the first page after the break. 
Select this check box, and then enter a number in the Lines box.</property>
                   </object>
                 </child>
diff --git a/solenv/sanitizers/ui/cui.suppr b/solenv/sanitizers/ui/cui.suppr
index 4254c0c013ac..297ef5f57641 100644
--- a/solenv/sanitizers/ui/cui.suppr
+++ b/solenv/sanitizers/ui/cui.suppr
@@ -197,8 +197,6 @@ 
cui/uiconfig/ui/storedwebconnectiondialog.ui://GtkLabel[@id='label1'] orphan-lab
 cui/uiconfig/ui/textanimtabpage.ui://GtkLabel[@id='FT_COUNT'] orphan-label
 cui/uiconfig/ui/textanimtabpage.ui://GtkLabel[@id='FT_AMOUNT'] orphan-label
 cui/uiconfig/ui/textanimtabpage.ui://GtkLabel[@id='FT_DELAY'] orphan-label
-cui/uiconfig/ui/textflowpage.ui://GtkLabel[@id='labelOrphan'] orphan-label
-cui/uiconfig/ui/textflowpage.ui://GtkLabel[@id='labelWidow'] orphan-label
 cui/uiconfig/ui/thesaurus.ui://GtkLabel[@id='notfound'] orphan-label
 cui/uiconfig/ui/toolbarmodedialog.ui://GtkLabel[@id='lbInfo'] orphan-label
 cui/uiconfig/ui/tsaurldialog.ui://GtkLabel[@id='label2'] orphan-label

Reply via email to