svx/uiconfig/ui/findreplacedialog.ui |   30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

New commits:
commit e3530f56da26ee2803f9cee356860609532f029e
Author:     Parth Raiyani <[email protected]>
AuthorDate: Wed Jan 28 15:59:42 2026 +0530
Commit:     Caolán McNamara <[email protected]>
CommitDate: Thu Jan 29 13:30:31 2026 +0100

    a11y: fix accessibility issues in Find and Replace dialog
    
    - add static role in GtkLabel for better accessibility
    - remove duplicate Component Label
    
    Signed-off-by: Parth Raiyani <[email protected]>
    Change-Id: Ic477cf032f95316b02500f6e53657a1e8934a95d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198314
    Tested-by: Caolán McNamara <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>

diff --git a/svx/uiconfig/ui/findreplacedialog.ui 
b/svx/uiconfig/ui/findreplacedialog.ui
index 95b959ae4c99..62805d244968 100644
--- a/svx/uiconfig/ui/findreplacedialog.ui
+++ b/svx/uiconfig/ui/findreplacedialog.ui
@@ -215,6 +215,11 @@
                         <property name="ellipsize">end</property>
                         <property name="xalign">0</property>
                         <property name="yalign">0.5</property>
+                        <child internal-child="accessible">
+                          <object class="AtkObject" id="searchdesc-atkobject">
+                            <property 
name="AtkObject::accessible-role">static</property>
+                          </object>
+                        </child>
                       </object>
                       <packing>
                         <property name="left-attach">1</property>
@@ -296,6 +301,11 @@
                                 <property name="no-show-all">True</property>
                                 <property name="label" translatable="yes" 
context="findreplacedialog|entirecells">_Entire cells</property>
                                 <property name="use-underline">True</property>
+                                <child internal-child="accessible">
+                                  <object class="AtkObject" 
id="entirecells-atkobject">
+                                    <property 
name="AtkObject::accessible-role">static</property>
+                                  </object>
+                                </child>
                               </object>
                               <packing>
                                 <property name="expand">False</property>
@@ -523,6 +533,11 @@
                         <property name="wrap">True</property>
                         <property name="ellipsize">end</property>
                         <property name="xalign">0</property>
+                        <child internal-child="accessible">
+                          <object class="AtkObject" id="replacedesc-atkobject">
+                            <property 
name="AtkObject::accessible-role">static</property>
+                          </object>
+                        </child>
                       </object>
                       <packing>
                         <property name="left-attach">1</property>
@@ -687,21 +702,6 @@
                     <property name="margin-top">6</property>
                     <property name="hexpand">True</property>
                     <property name="spacing">18</property>
-                    <child>
-                      <object class="GtkLabel" id="label7">
-                        <property name="can-focus">False</property>
-                        <property name="label" translatable="no">Component 
Label</property>
-                        <property name="use-underline">True</property>
-                        <attributes>
-                          <attribute name="weight" value="bold"/>
-                        </attributes>
-                      </object>
-                      <packing>
-                        <property name="expand">False</property>
-                        <property name="fill">True</property>
-                        <property name="position">1</property>
-                      </packing>
-                    </child>
                     <child>
                       <object class="GtkBox" id="box1">
                         <property name="visible">True</property>

Reply via email to