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

New commits:
commit 96e47e9483bdd171720e0bb24c6dda39be6c759b
Author:     codewithvk <[email protected]>
AuthorDate: Tue Jan 27 15:08:03 2026 +0530
Commit:     Caolán McNamara <[email protected]>
CommitDate: Wed Jan 28 10:25:55 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]>

diff --git a/cui/uiconfig/ui/specialcharacters.ui 
b/cui/uiconfig/ui/specialcharacters.ui
index 50e8084328c1..cb44e5c2c91c 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