From caed41abdd2adfa9a470b4f782774c6d7a34986f Mon Sep 17 00:00:00 2001 From: Hari Rana Date: Sat, 21 Feb 2026 09:48:31 -0500 Subject: [PATCH] views/month-cell: Set accessibility properties for overflow button This uses the "toggle-button" role instead of GtkToggleButton widget, as GtkToggleButton remains toggled after closing the month popover. Part-of: --- src/gui/views/gcal-month-cell.blp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gui/views/gcal-month-cell.blp b/src/gui/views/gcal-month-cell.blp index 0f1b503e..b3c8666d 100644 --- a/src/gui/views/gcal-month-cell.blp +++ b/src/gui/views/gcal-month-cell.blp @@ -56,6 +56,7 @@ template $GcalMonthCell: Adw.BreakpointBin { [overlay] Button overflow_button { + accessible-role: toggle_button; valign: end; sensitive: false; clicked => $overflow_button_clicked_cb(template) not-swapped; @@ -65,6 +66,11 @@ template $GcalMonthCell: Adw.BreakpointBin { margin-bottom: 2; margin-end: 2; + accessibility { + has-popup: true; + labelled-by: overflow_inscription; + } + styles [ "flat", "overflow",