cui/uiconfig/ui/areatabpage.ui           |    1 
 sw/uiconfig/swriter/ui/captionoptions.ui |    1 
 sw/uiconfig/swriter/ui/insertcaption.ui  |   83 ++++++++++++++++++-------------
 3 files changed, 51 insertions(+), 34 deletions(-)

New commits:
commit da6d0eb3eda7c549e789c2148def573b741b9a2e
Author:     Parth Raiyani <[email protected]>
AuthorDate: Fri Jan 16 15:33:11 2026 +0530
Commit:     Caolán McNamara <[email protected]>
CommitDate: Wed Jan 28 20:27:20 2026 +0100

    accessibility: add accessible name for table GtkComboBoxText in area tab 
page
    
    Signed-off-by: Parth Raiyani <[email protected]>
    Change-Id: Iff9ec3e371e0fddc3ab4cdc5c99824911d95e3e7
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198297
    Tested-by: Caolán McNamara <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>

diff --git a/cui/uiconfig/ui/areatabpage.ui b/cui/uiconfig/ui/areatabpage.ui
index a02c08f59915..7ee9fd75a409 100644
--- a/cui/uiconfig/ui/areatabpage.ui
+++ b/cui/uiconfig/ui/areatabpage.ui
@@ -36,6 +36,7 @@
                 </items>
                 <child internal-child="accessible">
                   <object class="AtkObject" id="tablelb-atkobject">
+                    <property name="AtkObject::accessible-name" 
translatable="yes" context="areatabpage|tablelb-atkobject">Apply to</property>
                     <property name="AtkObject::accessible-description" 
translatable="yes" context="areatabpage|extended_tip|tablelb">Set the fill 
options for the selected drawing object or document element.</property>
                   </object>
                 </child>
commit 560b7419b95172d475b90b5a3d17b919e81c2c30
Author:     Parth Raiyani <[email protected]>
AuthorDate: Wed Jan 28 11:57:54 2026 +0530
Commit:     Caolán McNamara <[email protected]>
CommitDate: Wed Jan 28 20:27:12 2026 +0100

    ui: replace GtkFrame with GtkBox to simplify UI and better a11y support
    
    - enhance accessibility by adding mnemonic properties to caption dialogs
    
    Change-Id: I0664c4da419649799ef84a2f8844454d7283d922
    Signed-off-by: Parth Raiyani <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198296
    Tested-by: Caolán McNamara <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>

diff --git a/sw/uiconfig/swriter/ui/captionoptions.ui 
b/sw/uiconfig/swriter/ui/captionoptions.ui
index 6f83e1c9d880..dc1526ac547e 100644
--- a/sw/uiconfig/swriter/ui/captionoptions.ui
+++ b/sw/uiconfig/swriter/ui/captionoptions.ui
@@ -136,6 +136,7 @@
                         <property name="visible">True</property>
                         <property name="can-focus">False</property>
                         <property name="label" translatable="yes" 
context="captionoptions|label4">Character style:</property>
+                        <property name="mnemonic-widget">style</property>
                         <property name="use-underline">True</property>
                         <property name="xalign">0</property>
                       </object>
diff --git a/sw/uiconfig/swriter/ui/insertcaption.ui 
b/sw/uiconfig/swriter/ui/insertcaption.ui
index 55cf80330593..32e896373f9a 100644
--- a/sw/uiconfig/swriter/ui/insertcaption.ui
+++ b/sw/uiconfig/swriter/ui/insertcaption.ui
@@ -107,32 +107,42 @@
             <property name="orientation">vertical</property>
             <property name="spacing">12</property>
             <child>
-              <object class="GtkFrame" id="frame1">
+              <object class="GtkBox" id="box2">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="hexpand">True</property>
-                <property name="label_xalign">0</property>
-                <property name="shadow_type">none</property>
+                <property name="orientation">vertical</property>
+                <property name="spacing">6</property>
                 <child>
-                  <object class="GtkEntry" id="caption_edit">
-                    <property name="visible">True</property>
-                    <property name="can_focus">True</property>
-                    <property name="hexpand">True</property>
-                    <property name="activates_default">True</property>
-                    <property name="margin-start">12</property>
-                    <property name="truncate-multiline">True</property>
-                    <property name="margin-top">6</property>
-                  </object>
-                </child>
-                <child type="label">
                   <object class="GtkLabel" id="label1">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="label" translatable="yes" 
context="insertcaption|label1">Caption</property>
+                    <property name="mnemonic-widget">caption_edit</property>
+                    <property name="xalign">0</property>
                     <attributes>
                       <attribute name="weight" value="bold"/>
                     </attributes>
                   </object>
+                  <packing>
+                    <property name="expand">False</property>
+                    <property name="fill">True</property>
+                    <property name="position">0</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkEntry" id="caption_edit">
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="hexpand">True</property>
+                    <property name="activates_default">True</property>
+                    <property name="truncate-multiline">True</property>
+                  </object>
+                  <packing>
+                    <property name="expand">False</property>
+                    <property name="fill">True</property>
+                    <property name="position">1</property>
+                  </packing>
                 </child>
               </object>
               <packing>
@@ -343,12 +353,29 @@
               </packing>
             </child>
             <child>
-              <object class="GtkFrame" id="frame3">
+              <object class="GtkBox" id="box3">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <property name="hexpand">True</property>
-                <property name="label_xalign">0</property>
-                <property name="shadow_type">none</property>
+                <property name="orientation">vertical</property>
+                <property name="spacing">6</property>
+                <child>
+                  <object class="GtkLabel" id="label3">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="label" translatable="yes" 
context="insertcaption|label3">Preview</property>
+                    <property name="mnemonic-widget">preview</property>
+                    <property name="xalign">0</property>
+                    <attributes>
+                      <attribute name="weight" value="bold"/>
+                    </attributes>
+                  </object>
+                  <packing>
+                    <property name="expand">False</property>
+                    <property name="fill">True</property>
+                    <property name="position">0</property>
+                  </packing>
+                </child>
                 <child>
                   <object class="GtkScrolledWindow">
                     <property name="visible">True</property>
@@ -356,8 +383,6 @@
                     <property name="hscrollbar_policy">never</property>
                     <property name="vscrollbar_policy">never</property>
                     <property name="shadow_type">in</property>
-                    <property name="margin-start">12</property>
-                    <property name="margin-top">6</property>
                     <child>
                       <object class="GtkViewport">
                         <property name="visible">True</property>
@@ -366,26 +391,16 @@
                           <object class="GtkDrawingArea" id="preview">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
-                            <child internal-child="accessible">
-                              <object class="AtkObject" id="preview-atkobject">
-                                <property name="AtkObject::accessible-name" 
translatable="yes" context="insertcaption|label3">Preview</property>
-                              </object>
-                            </child>
                           </object>
                         </child>
                       </object>
                     </child>
                   </object>
-                </child>
-                <child type="label">
-                  <object class="GtkLabel" id="label3">
-                    <property name="visible">True</property>
-                    <property name="can_focus">False</property>
-                    <property name="label" translatable="yes" 
context="insertcaption|label3">Preview</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>
               </object>
               <packing>

Reply via email to