cui/uiconfig/ui/gradientpage.ui         |   40 ++++----
 cui/uiconfig/ui/numberingoptionspage.ui |  150 ++++++++++++++++++--------------
 2 files changed, 105 insertions(+), 85 deletions(-)

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

    a11y: enhance a11y in numbering options page by restructuring UI elements
    
    Signed-off-by: Parth Raiyani <[email protected]>
    Change-Id: I881c35f37a50011e6662616453d2563071374ced
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198311
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200485

diff --git a/cui/uiconfig/ui/numberingoptionspage.ui 
b/cui/uiconfig/ui/numberingoptionspage.ui
index 1b088870ad49..2ed6fef156d1 100644
--- a/cui/uiconfig/ui/numberingoptionspage.ui
+++ b/cui/uiconfig/ui/numberingoptionspage.ui
@@ -414,79 +414,101 @@
                       </packing>
                     </child>
                     <child>
-                      <object class="GtkLabel" id="prefixft">
+                      <object class="GtkFrame" id="separator_frame">
                         <property name="visible">True</property>
                         <property name="can-focus">False</property>
-                        <property name="margin-start">20</property>
-                        <property name="label" translatable="yes" 
context="numberingoptionspage|prefixft">Before:</property>
-                        <property name="use-underline">True</property>
-                        <property name="mnemonic-widget">prefix</property>
-                        <property name="xalign">1</property>
-                      </object>
-                      <packing>
-                        <property name="left-attach">0</property>
-                        <property name="top-attach">10</property>
-                      </packing>
-                    </child>
-                    <child>
-                      <object class="GtkLabel" id="separator">
-                        <property name="visible">True</property>
-                        <property name="can-focus">False</property>
-                        <property name="margin-start">20</property>
-                        <property name="label" translatable="yes" 
context="numberingoptionspage|separator">Separator</property>
-                        <property name="xalign">1</property>
-                      </object>
-                      <packing>
-                        <property name="left-attach">0</property>
-                        <property name="top-attach">9</property>
-                      </packing>
-                    </child>
-                    <child>
-                      <object class="GtkEntry" id="suffix">
-                        <property name="visible">True</property>
-                        <property name="can-focus">True</property>
-                        <property name="activates-default">True</property>
-                        <property name="truncate-multiline">True</property>
-                        <child internal-child="accessible">
-                          <object class="AtkObject" id="suffix-atkobject">
-                            <property name="AtkObject::accessible-description" 
translatable="yes" context="numberingoptionspage|extended_tip|suffix">Enter a 
character or the text to display behind the number in the list. To create the 
numbering scheme "1.)", enter ".)" in this box.</property>
+                        <property name="label-xalign">0</property>
+                        <property name="shadow-type">none</property>
+                        <child>
+                          <!-- n-columns=2 n-rows=2 -->
+                          <object class="GtkGrid">
+                            <property name="visible">True</property>
+                            <property name="can-focus">False</property>
+                            <property name="margin-start">12</property>
+                            <property name="margin-top">6</property>
+                            <property name="row-spacing">6</property>
+                            <property name="column-spacing">12</property>
+                            <child>
+                              <object class="GtkLabel" id="prefixft">
+                                <property name="visible">True</property>
+                                <property name="can-focus">False</property>
+                                <property name="margin-start">20</property>
+                                <property name="label" translatable="yes" 
context="numberingoptionspage|prefixft">Before:</property>
+                                <property name="use-underline">True</property>
+                                <property 
name="mnemonic-widget">prefix</property>
+                                <property name="xalign">1</property>
+                              </object>
+                              <packing>
+                                <property name="left-attach">0</property>
+                                <property name="top-attach">0</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <object class="GtkEntry" id="prefix">
+                                <property name="visible">True</property>
+                                <property name="can-focus">True</property>
+                                <property 
name="activates-default">True</property>
+                                <property 
name="truncate-multiline">True</property>
+                                <child internal-child="accessible">
+                                  <object class="AtkObject" 
id="prefix-atkobject">
+                                    <property 
name="AtkObject::accessible-description" translatable="yes" 
context="numberingoptionspage|extended_tip|prefix">Enter a character or the 
text to display in front of the number in the list.</property>
+                                  </object>
+                                </child>
+                              </object>
+                              <packing>
+                                <property name="left-attach">1</property>
+                                <property name="top-attach">0</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <object class="GtkLabel" id="suffixft">
+                                <property name="visible">True</property>
+                                <property name="can-focus">False</property>
+                                <property name="label" translatable="yes" 
context="numberingoptionspage|suffixft">After:</property>
+                                <property name="use-underline">True</property>
+                                <property 
name="mnemonic-widget">suffix</property>
+                                <property name="xalign">1</property>
+                              </object>
+                              <packing>
+                                <property name="left-attach">0</property>
+                                <property name="top-attach">1</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <object class="GtkEntry" id="suffix">
+                                <property name="visible">True</property>
+                                <property name="can-focus">True</property>
+                                <property 
name="activates-default">True</property>
+                                <property 
name="truncate-multiline">True</property>
+                                <child internal-child="accessible">
+                                  <object class="AtkObject" 
id="suffix-atkobject">
+                                    <property 
name="AtkObject::accessible-description" translatable="yes" 
context="numberingoptionspage|extended_tip|suffix">Enter a character or the 
text to display behind the number in the list. To create the numbering scheme 
"1.)", enter ".)" in this box.</property>
+                                  </object>
+                                </child>
+                              </object>
+                              <packing>
+                                <property name="left-attach">1</property>
+                                <property name="top-attach">1</property>
+                              </packing>
+                            </child>
                           </object>
                         </child>
-                      </object>
-                      <packing>
-                        <property name="left-attach">1</property>
-                        <property name="top-attach">11</property>
-                      </packing>
-                    </child>
-                    <child>
-                      <object class="GtkEntry" id="prefix">
-                        <property name="visible">True</property>
-                        <property name="can-focus">True</property>
-                        <property name="activates-default">True</property>
-                        <property name="truncate-multiline">True</property>
-                        <child internal-child="accessible">
-                          <object class="AtkObject" id="prefix-atkobject">
-                            <property name="AtkObject::accessible-description" 
translatable="yes" context="numberingoptionspage|extended_tip|prefix">Enter a 
character or the text to display in front of the number in the list.</property>
+                        <child type="label">
+                          <object class="GtkLabel" id="separator">
+                            <property name="visible">True</property>
+                            <property name="can-focus">False</property>
+                            <property name="label" translatable="yes" 
context="numberingoptionspage|separator">Separator</property>
+                            <attributes>
+                              <attribute name="weight" value="bold"/>
+                            </attributes>
                           </object>
                         </child>
                       </object>
-                      <packing>
-                        <property name="left-attach">1</property>
-                        <property name="top-attach">10</property>
-                      </packing>
-                    </child>
-                    <child>
-                      <object class="GtkLabel" id="suffixft">
-                        <property name="visible">True</property>
-                        <property name="can-focus">False</property>
-                        <property name="label" translatable="yes" 
context="numberingoptionspage|suffixft">After:</property>
-                        <property name="use-underline">True</property>
-                        <property name="mnemonic-widget">suffix</property>
-                        <property name="xalign">1</property>
-                      </object>
                       <packing>
                         <property name="left-attach">0</property>
-                        <property name="top-attach">11</property>
+                        <property name="top-attach">9</property>
+                        <property name="width">2</property>
+                        <property name="height">3</property>
                       </packing>
                     </child>
                     <child>
commit 7d57123fc9087e10fffde5be2b7ce483229915e0
Author:     Parth Raiyani <[email protected]>
AuthorDate: Wed Jan 28 15:44:00 2026 +0530
Commit:     Caolán McNamara <[email protected]>
CommitDate: Thu Feb 26 20:51:39 2026 +0100

    a11y: improve accessibility in gradient page UI by updating layout
    
    Signed-off-by: Parth Raiyani <[email protected]>
    Change-Id: Ib6f9212a11802f7703b0786e588be4b607e889e9
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198310
    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/+/200484

diff --git a/cui/uiconfig/ui/gradientpage.ui b/cui/uiconfig/ui/gradientpage.ui
index 416209e5996b..a701ed95c751 100644
--- a/cui/uiconfig/ui/gradientpage.ui
+++ b/cui/uiconfig/ui/gradientpage.ui
@@ -310,25 +310,11 @@
             </child>
             <child>
               <!-- n-columns=1 n-rows=2 -->
-              <object class="GtkGrid" id="grid5">
+              <object class="GtkFrame" id="center_frame">
                 <property name="visible">True</property>
                 <property name="can-focus">False</property>
-                <property name="valign">start</property>
-                <property name="row-spacing">3</property>
-                <property name="column-spacing">6</property>
-                <child>
-                  <object class="GtkLabel" id="centerft">
-                    <property name="visible">True</property>
-                    <property name="can-focus">False</property>
-                    <property name="label" translatable="yes" 
context="gradientpage|centerft">Center ( X / Y ):</property>
-                    <property name="use-underline">True</property>
-                    <property name="xalign">0</property>
-                  </object>
-                  <packing>
-                    <property name="left-attach">0</property>
-                    <property name="top-attach">0</property>
-                  </packing>
-                </child>
+                <property name="label-xalign">0</property>
+                <property name="shadow-type">none</property>
                 <child>
                   <object class="GtkBox" id="box9">
                     <property name="visible">True</property>
@@ -374,10 +360,17 @@
                       </packing>
                     </child>
                   </object>
-                  <packing>
-                    <property name="left-attach">0</property>
-                    <property name="top-attach">1</property>
-                  </packing>
+                </child>
+                <child type="label">
+                  <object class="GtkLabel" id="centerft">
+                    <property name="visible">True</property>
+                    <property name="can-focus">False</property>
+                    <property name="label" translatable="yes" 
context="gradientpage|centerft">Center ( X / Y ):</property>
+                    <property name="use-underline">True</property>
+                    <attributes>
+                      <attribute name="weight" value="bold"/>
+                    </attributes>
+                  </object>
                 </child>
               </object>
               <packing>
@@ -743,6 +736,11 @@
             <attributes>
               <attribute name="weight" value="bold"/>
             </attributes>
+            <child internal-child="accessible">
+              <object class="AtkObject" id="label2-atkobject">
+                <property name="AtkObject::accessible-role">static</property>
+              </object>
+            </child>
           </object>
         </child>
       </object>

Reply via email to