month-cell: Fix accessibility warnings
* Add a tooltip to the overflow button. * Change weather icon to have use the presentation accessible role Closes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1522 Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/681>
This commit is contained in:
@@ -39,6 +39,7 @@ template $GcalMonthCell: Adw.BreakpointBin {
|
|||||||
Image weather_icon {
|
Image weather_icon {
|
||||||
pixel-size: 16;
|
pixel-size: 16;
|
||||||
margin-start: 12;
|
margin-start: 12;
|
||||||
|
accessible-role: presentation;
|
||||||
|
|
||||||
styles [
|
styles [
|
||||||
"dimmed",
|
"dimmed",
|
||||||
@@ -58,6 +59,7 @@ template $GcalMonthCell: Adw.BreakpointBin {
|
|||||||
valign: end;
|
valign: end;
|
||||||
sensitive: false;
|
sensitive: false;
|
||||||
clicked => $overflow_button_clicked_cb(template) not-swapped;
|
clicked => $overflow_button_clicked_cb(template) not-swapped;
|
||||||
|
tooltip-text: _("All Events");
|
||||||
|
|
||||||
styles [
|
styles [
|
||||||
"flat",
|
"flat",
|
||||||
|
|||||||
Reference in New Issue
Block a user