cui/uiconfig/ui/specialcharacters.ui |   14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

New commits:
commit 3d09327c0600669fb92d7b0d8c44e7086aed0e35
Author:     codewithvk <[email protected]>
AuthorDate: Tue Jan 27 15:08:03 2026 +0530
Commit:     Caolán McNamara <[email protected]>
CommitDate: Thu Feb 26 17:17:53 2026 +0100

    fix(cui): use explicit a11y relations for Recent/Favorite Characters grids
    
    Replace mnemonic-widget with explicit accessibility relations (label-for 
and labelled-by) for both Recent Characters and Favorite Characters sections in 
the Special Characters dialog.
    
    This helps avoid pointing to the first child of the group, allowing 
individual character widgets to expose their dynamic accessible names.
    
    Signed-off-by: codewithvk <[email protected]>
    Change-Id: I6df7de8e57abd133e58c5b79d18ad48ca8e32131
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198191
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200445

diff --git a/cui/uiconfig/ui/specialcharacters.ui 
b/cui/uiconfig/ui/specialcharacters.ui
index 906706dbee77..fb8760637632 100644
--- a/cui/uiconfig/ui/specialcharacters.ui
+++ b/cui/uiconfig/ui/specialcharacters.ui
@@ -389,7 +389,9 @@
                     <property name="valign">start</property>
                     <property name="label" translatable="yes" 
context="specialcharacters|symboltext1">Recent Characters:</property>
                     <property name="use-underline">True</property>
-                    <property name="mnemonic-widget">viewchar1</property>
+                    <accessibility>
+                      <relation type="label-for" target="viewgrid"/>
+                    </accessibility>
                   </object>
                   <packing>
                     <property name="expand">False</property>
@@ -594,6 +596,9 @@
                         <property name="position">15</property>
                       </packing>
                     </child>
+                    <accessibility>
+                      <relation type="labelled-by" target="symboltext1"/>
+                    </accessibility>
                   </object>
                   <packing>
                     <property name="expand">False</property>
@@ -623,7 +628,9 @@
                     <property name="valign">start</property>
                     <property name="label" translatable="yes" 
context="specialcharacters|favbtn|symboltext2">Favorite Characters:</property>
                     <property name="use-underline">True</property>
-                    <property name="mnemonic-widget">favchar1</property>
+                    <accessibility>
+                      <relation type="label-for" target="favgrid"/>
+                    </accessibility>
                   </object>
                   <packing>
                     <property name="expand">False</property>
@@ -813,6 +820,9 @@
                         <property name="top-attach">0</property>
                       </packing>
                     </child>
+                    <accessibility>
+                      <relation type="labelled-by" target="symboltext2"/>
+                    </accessibility>
                   </object>
                   <packing>
                     <property name="expand">False</property>

Reply via email to