cui/uiconfig/ui/borderpage.ui            |    5 +
 cui/uiconfig/ui/hatchpage.ui             |    7 ++
 cui/uiconfig/ui/imagetabpage.ui          |    5 +
 sw/source/ui/index/cnttab.cxx            |    2 
 sw/uiconfig/swriter/ui/tocentriespage.ui |   91 ++++++++++++++++---------------
 5 files changed, 66 insertions(+), 44 deletions(-)

New commits:
commit 7fac87901f1f72e382f777097a3578090f637cbe
Author:     Parth Raiyani <[email protected]>
AuthorDate: Wed Jan 28 15:42:42 2026 +0530
Commit:     Caolán McNamara <[email protected]>
CommitDate: Thu Feb 26 20:51:30 2026 +0100

    a11y: enhance accessibility features in Area tab pages UI
    
    - rename conflicting GtkLabel ids
    - add static role in GtkLabel for better accessibility
    
    Change-Id: I0d3838192bcaaf521b476b9ac6fc3973c8100e06
    Signed-off-by: Parth Raiyani <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198309
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200483

diff --git a/cui/uiconfig/ui/borderpage.ui b/cui/uiconfig/ui/borderpage.ui
index c3a1bb75353f..6ecc3a85b3dc 100644
--- a/cui/uiconfig/ui/borderpage.ui
+++ b/cui/uiconfig/ui/borderpage.ui
@@ -113,6 +113,11 @@
                 <property name="use-underline">True</property>
                 <property name="mnemonic-widget">framesel</property>
                 <property name="xalign">0</property>
+                <child internal-child="accessible">
+                  <object class="AtkObject" id="userdefft-atkobject">
+                    <property 
name="AtkObject::accessible-role">static</property>
+                  </object>
+                </child>
               </object>
               <packing>
                 <property name="left-attach">0</property>
diff --git a/cui/uiconfig/ui/hatchpage.ui b/cui/uiconfig/ui/hatchpage.ui
index ba4870b25da7..44fdaf1be75a 100644
--- a/cui/uiconfig/ui/hatchpage.ui
+++ b/cui/uiconfig/ui/hatchpage.ui
@@ -165,7 +165,7 @@
             <property name="margin-start">12</property>
             <property name="margin-top">6</property>
             <child>
-              <object class="GtkLabel" id="distanceft">
+              <object class="GtkLabel" id="hatchdistanceft">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="label" translatable="yes" 
context="hatchpage|distanceft">_Spacing:</property>
@@ -449,6 +449,11 @@
             <attributes>
               <attribute name="weight" value="bold"/>
             </attributes>
+            <child internal-child="accessible">
+              <object class="AtkObject" id="label1-atkobject">
+                <property name="AtkObject::accessible-role">static</property>
+              </object>
+            </child>
           </object>
         </child>
       </object>
diff --git a/cui/uiconfig/ui/imagetabpage.ui b/cui/uiconfig/ui/imagetabpage.ui
index 040fc745e5b3..2bbb6cc5adb9 100644
--- a/cui/uiconfig/ui/imagetabpage.ui
+++ b/cui/uiconfig/ui/imagetabpage.ui
@@ -620,6 +620,11 @@
             <attributes>
               <attribute name="weight" value="bold"/>
             </attributes>
+            <child internal-child="accessible">
+              <object class="AtkObject" id="label8-atkobject">
+                <property name="AtkObject::accessible-role">static</property>
+              </object>
+            </child>
           </object>
         </child>
       </object>
commit f18257ce48534e25385dde51892aa74c7adf0821
Author:     Parth Raiyani <[email protected]>
AuthorDate: Wed Jan 28 15:36:38 2026 +0530
Commit:     Caolán McNamara <[email protected]>
CommitDate: Thu Feb 26 20:51:22 2026 +0100

    a11y: enhance accessibility features in the table of contents entries page
    
    Change-Id: I5e2d0f972abd4888bd860c95fc13640bdaf382a0
    Signed-off-by: Parth Raiyani <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198308
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200482

diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index 65a39de1a9e4..bbf2bc978204 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -1958,7 +1958,7 @@ SwTOXEntryTabPage::SwTOXEntryTabPage(weld::Container* 
pPage, weld::DialogControl
     , m_xTabPosMF(m_xBuilder->weld_metric_spin_button(u"tabstoppos"_ustr, 
FieldUnit::CM))
     , m_xAutoRightCB(m_xBuilder->weld_check_button(u"alignright"_ustr))
     , m_xFormatFrame(m_xBuilder->weld_widget(u"formatframe"_ustr))
-    , m_xMainEntryStyleFT(m_xBuilder->weld_label(u"mainstyleft"_ustr))
+    , 
m_xMainEntryStyleFT(m_xBuilder->weld_label(u"tocentriesmainstyleft"_ustr))
     , m_xMainEntryStyleLB(m_xBuilder->weld_combo_box(u"mainstyle"_ustr))
     , m_xAlphaDelimCB(m_xBuilder->weld_check_button(u"alphadelim"_ustr))
     , m_xCommaSeparatedCB(m_xBuilder->weld_check_button(u"commasep"_ustr))
diff --git a/sw/uiconfig/swriter/ui/tocentriespage.ui 
b/sw/uiconfig/swriter/ui/tocentriespage.ui
index 575cb579f187..9b06602b1e3f 100644
--- a/sw/uiconfig/swriter/ui/tocentriespage.ui
+++ b/sw/uiconfig/swriter/ui/tocentriespage.ui
@@ -195,59 +195,66 @@
                     <property name="vexpand">True</property>
                     <property name="row-spacing">6</property>
                     <child>
-                      <!-- n-columns=3 n-rows=1 -->
-                      <object class="GtkGrid" id="grid4">
+                      <object class="GtkFrame" id="structure_frame">
                         <property name="visible">True</property>
                         <property name="can-focus">False</property>
-                        <property name="column-spacing">12</property>
+                        <property name="label-xalign">0</property>
+                        <property name="shadow-type">none</property>
                         <child>
-                          <object class="GtkLabel" id="label4">
+                          <!-- n-columns=2 n-rows=1 -->
+                          <object class="GtkGrid" id="grid4">
                             <property name="visible">True</property>
                             <property name="can-focus">False</property>
-                            <property name="label" translatable="yes" 
context="tocentriespage|label4">_Structure:</property>
-                            <property name="use-underline">True</property>
-                            <property name="mnemonic-widget">token</property>
-                            <property name="xalign">0</property>
-                          </object>
-                          <packing>
-                            <property name="left-attach">0</property>
-                            <property name="top-attach">0</property>
-                          </packing>
-                        </child>
-                        <child>
-                          <object class="GtkButton" id="all">
-                            <property name="label" translatable="yes" 
context="tocentriespage|all">_All</property>
-                            <property name="visible">True</property>
-                            <property name="can-focus">True</property>
-                            <property name="receives-default">True</property>
-                            <property name="use-underline">True</property>
-                            <child internal-child="accessible">
-                              <object class="AtkObject" id="all-atkobject">
-                                <property 
name="AtkObject::accessible-description" translatable="yes" 
context="tocentriespage|extended_tip|all">Applies the current settings to all 
levels without closing the dialog.</property>
+                            <property name="column-spacing">12</property>
+                            <property name="margin-start">12</property>
+                            <property name="margin-top">6</property>
+                            <child>
+                              <object class="GtkBox" id="token">
+                                <property name="visible">True</property>
+                                <property name="can-focus">False</property>
+                                <property name="valign">center</property>
+                                <property name="hexpand">True</property>
+                                <child internal-child="accessible">
+                                  <object class="AtkObject" 
id="token-atkobject">
+                                    <property 
name="AtkObject::accessible-description" translatable="yes" 
context="tocentriespage|extended_tip|token">Displays the remainder of the 
Structure line.</property>
+                                  </object>
+                                </child>
+                              </object>
+                              <packing>
+                                <property name="left-attach">0</property>
+                                <property name="top-attach">0</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <object class="GtkButton" id="all">
+                                <property name="label" translatable="yes" 
context="tocentriespage|all">_All</property>
+                                <property name="visible">True</property>
+                                <property name="can-focus">True</property>
+                                <property 
name="receives-default">True</property>
+                                <property name="use-underline">True</property>
+                                <child internal-child="accessible">
+                                  <object class="AtkObject" id="all-atkobject">
+                                    <property 
name="AtkObject::accessible-description" translatable="yes" 
context="tocentriespage|extended_tip|all">Applies the current settings to all 
levels without closing the dialog.</property>
+                                  </object>
+                                </child>
                               </object>
+                              <packing>
+                                <property name="left-attach">1</property>
+                                <property name="top-attach">0</property>
+                              </packing>
                             </child>
                           </object>
-                          <packing>
-                            <property name="left-attach">2</property>
-                            <property name="top-attach">0</property>
-                          </packing>
                         </child>
-                        <child>
-                          <object class="GtkBox" id="token">
+                        <child type="label">
+                          <object class="GtkLabel" id="structure_label">
                             <property name="visible">True</property>
                             <property name="can-focus">False</property>
-                            <property name="valign">center</property>
-                            <property name="hexpand">True</property>
-                            <child internal-child="accessible">
-                              <object class="AtkObject" id="token-atkobject">
-                                <property 
name="AtkObject::accessible-description" translatable="yes" 
context="tocentriespage|extended_tip|token">Displays the remainder of the 
Structure line.</property>
-                              </object>
-                            </child>
+                            <property name="label" translatable="yes" 
context="tocentriespage|structure_label">_Structure</property>
+                            <property name="use-underline">True</property>
+                            <attributes>
+                              <attribute name="weight" value="bold"/>
+                            </attributes>
                           </object>
-                          <packing>
-                            <property name="left-attach">1</property>
-                            <property name="top-attach">0</property>
-                          </packing>
                         </child>
                       </object>
                       <packing>
@@ -841,7 +848,7 @@
                       </packing>
                     </child>
                     <child>
-                      <object class="GtkLabel" id="mainstyleft">
+                      <object class="GtkLabel" id="tocentriesmainstyleft">
                         <property name="visible">True</property>
                         <property name="can-focus">False</property>
                         <property name="label" translatable="yes" 
context="tocentriespage|mainstyleft">Character style for main 
entries:</property>

Reply via email to