[gnome-shell] status/system: Add context to a11y label



commit c9efc137ac153688b3b17cba3edc1e8f144ddd6d
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Sep 13 18:59:35 2022 +0200

    status/system: Add context to a11y label
    
    "Lock Screen" can refer to the lock screen component or the action
    of locking the screen. Add context to clarify that the button
    refers to the latter.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5852
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2485>

 js/ui/status/system.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/status/system.js b/js/ui/status/system.js
index 25d4c1e9c8..5a2d92cc0e 100644
--- a/js/ui/status/system.js
+++ b/js/ui/status/system.js
@@ -232,7 +232,7 @@ class LockItem extends QuickSettingsItem {
             style_class: 'icon-button',
             can_focus: true,
             icon_name: 'system-lock-screen-symbolic',
-            accessible_name: _('Lock Screen'),
+            accessible_name: C_('action', 'Lock Screen'),
         });
 
         this._systemActions.bind_property('can-lock-screen',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]