sfx2/uiconfig/ui/password.ui   |   18 +++++++++++++++---
 solenv/sanitizers/ui/sfx.suppr |    4 ----
 2 files changed, 15 insertions(+), 7 deletions(-)

New commits:
commit 4d4bdb9094eed711276883a9f97fc498fdf17552
Author:     Caolán McNamara <[email protected]>
AuthorDate: Tue Feb 17 09:38:49 2026 +0000
Commit:     Miklos Vajna <[email protected]>
CommitDate: Tue Feb 17 14:51:13 2026 +0100

    a11y: add accessible name for GtkLevelBar in sfx's password ui
    
    similar to how it was added in the more common cui password ui
    
    commit 82a88dcd4a1f95ed4f46167eefb403dbe86fc8d4
    Date:   Tue Feb 10 12:56:34 2026 +0530
    
        a11y: add accessible name for GtkLevelBar in password ui
    
    Change-Id: I27e483a6698fe353bf081a127d9448c2d22aa0d0
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199526
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Miklos Vajna <[email protected]>

diff --git a/sfx2/uiconfig/ui/password.ui b/sfx2/uiconfig/ui/password.ui
index fc7f795024bb..12c89c3f9b0d 100644
--- a/sfx2/uiconfig/ui/password.ui
+++ b/sfx2/uiconfig/ui/password.ui
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.38.2 -->
+<!-- Generated with glade 3.40.0 -->
 <interface domain="sfx">
   <requires lib="gtk+" version="3.20"/>
   <object class="GtkDialog" id="PasswordDialog">
@@ -195,6 +195,12 @@
                       <object class="GtkLevelBar" id="pass1bar">
                         <property name="visible">True</property>
                         <property name="can-focus">False</property>
+                        <child internal-child="accessible">
+                          <object class="AtkObject" id="pass1bar-atkobject">
+                            <property name="AtkObject::accessible-name" 
translatable="yes" context="password|pass1bar-atkobject">Password Level 
Bar</property>
+                            <property name="AtkObject::accessible-description" 
translatable="yes" context="password|pass1bar-atkobject">Shows the strength of 
password</property>
+                          </object>
+                        </child>
                       </object>
                       <packing>
                         <property name="left-attach">1</property>
@@ -210,7 +216,7 @@
                         <property name="wrap">True</property>
                         <child internal-child="accessible">
                           <object class="AtkObject" 
id="pass1policylabel-atkobject">
-                              <property 
name="AtkObject::accessible-role">static</property>
+                            <property 
name="AtkObject::accessible-role">static</property>
                           </object>
                         </child>
                       </object>
@@ -331,6 +337,12 @@
                       <object class="GtkLevelBar" id="pass2bar">
                         <property name="visible">True</property>
                         <property name="can-focus">False</property>
+                        <child internal-child="accessible">
+                          <object class="AtkObject" id="pass2bar-atkobject">
+                            <property name="AtkObject::accessible-name" 
translatable="yes" context="password|pass2bar-atkobject">Password Level 
Bar</property>
+                            <property name="AtkObject::accessible-description" 
translatable="yes" context="password|pass2bar-atkobject">Shows the strength of 
password</property>
+                          </object>
+                        </child>
                       </object>
                       <packing>
                         <property name="left-attach">1</property>
@@ -346,7 +358,7 @@
                         <property name="wrap">True</property>
                         <child internal-child="accessible">
                           <object class="AtkObject" 
id="pass2policylabel-atkobject">
-                              <property 
name="AtkObject::accessible-role">static</property>
+                            <property 
name="AtkObject::accessible-role">static</property>
                           </object>
                         </child>
                       </object>
diff --git a/solenv/sanitizers/ui/sfx.suppr b/solenv/sanitizers/ui/sfx.suppr
index 58fcd42eb62d..fdcd03fb41c2 100644
--- a/solenv/sanitizers/ui/sfx.suppr
+++ b/solenv/sanitizers/ui/sfx.suppr
@@ -51,7 +51,3 @@ 
sfx2/uiconfig/ui/versioncommentdialog.ui://GtkTextView[@id='textview'] no-labell
 sfx2/uiconfig/ui/linefragment.ui://GtkEntry[@id='duration'] no-labelled-by
 sfx2/uiconfig/ui/linefragment.ui://GtkEntry[@id='valueedit'] no-labelled-by
 sfx2/uiconfig/ui/linefragment.ui://GtkSpinButton[@id='time'] no-labelled-by
-sfx2/uiconfig/ui/password.ui://GtkLevelBar[@id='pass1bar'] no-labelled-by
-sfx2/uiconfig/ui/password.ui://GtkLabel[@id='pass1policylabel'] orphan-label
-sfx2/uiconfig/ui/password.ui://GtkLevelBar[@id='pass2bar'] no-labelled-by
-sfx2/uiconfig/ui/password.ui://GtkLabel[@id='pass2policylabel'] orphan-label

Reply via email to