[gnome-shell] a11y: calendar: add accessible name for next/prev month buttons



commit 40ae408b3b02dc78a05d26d57a3bc72a3a70c16c
Author: Alejandro Piñeiro <apinheiro igalia com>
Date:   Tue Aug 27 13:50:25 2013 +0200

    a11y: calendar: add accessible name for next/prev month buttons
    
    https://bugzilla.gnome.org/show_bug.cgi?id=706903

 js/ui/calendar.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/calendar.js b/js/ui/calendar.js
index 29fe008..cb5a294 100644
--- a/js/ui/calendar.js
+++ b/js/ui/calendar.js
@@ -444,6 +444,7 @@ const Calendar = new Lang.Class({
                        { row: 0, col: 0, col_span: offsetCols + 7 });
 
         this._backButton = new St.Button({ style_class: 'calendar-change-month-back',
+                                           accessible_name: _("Previous month"),
                                            can_focus: true });
         this._topBox.add(this._backButton);
         this._backButton.connect('clicked', Lang.bind(this, this._onPrevMonthButtonClicked));
@@ -452,6 +453,7 @@ const Calendar = new Lang.Class({
         this._topBox.add(this._monthLabel, { expand: true, x_fill: false, x_align: St.Align.MIDDLE });
 
         this._forwardButton = new St.Button({ style_class: 'calendar-change-month-forward',
+                                              accessible_name: _("Next month"),
                                               can_focus: true });
         this._topBox.add(this._forwardButton);
         this._forwardButton.connect('clicked', Lang.bind(this, this._onNextMonthButtonClicked));


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