cui/uiconfig/ui/password.ui |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 8ceea0574dbfd84d06ec367c44454e69a1ec5af3
Author:     Michael Weghorn <[email protected]>
AuthorDate: Wed Oct 22 09:23:14 2025 +0200
Commit:     Michael Weghorn <[email protected]>
CommitDate: Wed Oct 22 11:03:47 2025 +0200

    a11y: Set mnemonic-widgets in password dialog again
    
    They were dropped in
    
        commit 1791a290a82591d5b0609502e86f07ed69acee5c
        Date:   Sun Mar 9 13:27:57 2025 +0530
    
            tdf#146947 Add show/reveal toggle to "Set Password" dialog
    
    for no apparent reason, resulting in the Orca
    screen reader no longer announcing the text
    of the label that describes what the entry
    is for.
    
    Example to trigger the dialog:
    
    * start Writer
    * "File" -> "Save As"
    * check the "Save with Password" checkbox
    * hit OK button
    
    Change-Id: Ifbb9c6e69254cf5f9439fcfd5347e845ba09f96a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192820
    Reviewed-by: Michael Weghorn <[email protected]>
    Tested-by: Jenkins

diff --git a/cui/uiconfig/ui/password.ui b/cui/uiconfig/ui/password.ui
index 700cbfe5ccec..e72e27176845 100644
--- a/cui/uiconfig/ui/password.ui
+++ b/cui/uiconfig/ui/password.ui
@@ -162,6 +162,7 @@
                                         <property 
name="can-focus">False</property>
                                         <property name="label" 
translatable="yes" context="password|label7">Enter password to allow 
editing</property>
                                         <property 
name="use-underline">True</property>
+                                        <property 
name="mnemonic-widget">newpassroEntry</property>
                                         <property name="xalign">0</property>
                                       </object>
                                       <packing>
@@ -206,6 +207,7 @@
                                         <property 
name="can-focus">False</property>
                                         <property name="label" 
translatable="yes" context="password|label8">Confirm password</property>
                                         <property 
name="use-underline">True</property>
+                                        <property 
name="mnemonic-widget">confirmropassEntry</property>
                                         <property name="xalign">0</property>
                                       </object>
                                       <packing>
@@ -400,6 +402,7 @@
                             <property name="can-focus">False</property>
                             <property name="label" translatable="yes" 
context="password|label4">_Enter password to open</property>
                             <property name="use-underline">True</property>
+                            <property 
name="mnemonic-widget">newpassEntry</property>
                             <property name="xalign">0</property>
                           </object>
                           <packing>
@@ -444,6 +447,7 @@
                             <property name="can-focus">False</property>
                             <property name="label" translatable="yes" 
context="password|label5">Confirm password</property>
                             <property name="use-underline">True</property>
+                            <property 
name="mnemonic-widget">confirmpassEntry</property>
                             <property name="xalign">0</property>
                           </object>
                           <packing>

Reply via email to