From bb2d7f7e7e6dfc6096472ec0a05f5b2870697e5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 3 Mar 2015 23:22:02 +0100 Subject: [PATCH] dateMenu: Set label_actor for WorldClock button Ideally we would allow navigating into the button in the screen reader case, so the configured clocks are read out properly. However we can still do better than nothing short-term by pointing to the section header as the button's label_actor. https://bugzilla.gnome.org/show_bug.cgi?id=745393 --- js/ui/dateMenu.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js index cd77c41be..7307d7d8f 100644 --- a/js/ui/dateMenu.js +++ b/js/ui/dateMenu.js @@ -163,6 +163,7 @@ const WorldClocksSection = new Lang.Class({ x_align: Clutter.ActorAlign.START, text: title }); layout.attach(header, 0, 0, 2, 1); + this.actor.label_actor = header; for (let i = 0; i < this._locations.length; i++) { let l = this._locations[i].location;