a11y: calendar: Month name should be navigable
https://bugzilla.gnome.org/show_bug.cgi?id=706903
This commit is contained in:
parent
40ae408b3b
commit
4e80758970
@ -1212,6 +1212,10 @@ StScrollBar StButton#vhandle:active {
|
|||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.calendar-month-label:focus {
|
||||||
|
background-color: #999999;
|
||||||
|
}
|
||||||
|
|
||||||
.calendar-change-month-back {
|
.calendar-change-month-back {
|
||||||
width: 18px;
|
width: 18px;
|
||||||
height: 12px;
|
height: 12px;
|
||||||
|
@ -449,7 +449,8 @@ const Calendar = new Lang.Class({
|
|||||||
this._topBox.add(this._backButton);
|
this._topBox.add(this._backButton);
|
||||||
this._backButton.connect('clicked', Lang.bind(this, this._onPrevMonthButtonClicked));
|
this._backButton.connect('clicked', Lang.bind(this, this._onPrevMonthButtonClicked));
|
||||||
|
|
||||||
this._monthLabel = new St.Label({style_class: 'calendar-month-label'});
|
this._monthLabel = new St.Label({style_class: 'calendar-month-label',
|
||||||
|
can_focus: true });
|
||||||
this._topBox.add(this._monthLabel, { expand: true, x_fill: false, x_align: St.Align.MIDDLE });
|
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',
|
this._forwardButton = new St.Button({ style_class: 'calendar-change-month-forward',
|
||||||
|
Loading…
Reference in New Issue
Block a user