[gtk: 1/4] Make the presentation of the stack sidebar listbox nicer for A11Y
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/4] Make the presentation of the stack sidebar listbox nicer for A11Y
- Date: Mon, 26 Sep 2022 14:41:30 +0000 (UTC)
commit 6f9013297a973159ab422a68733eea5ee41b26b3
Author: Lukáš Tyrychtr <lukastyrychtr gmail com>
Date: Thu Apr 21 17:55:39 2022 +0200
Make the presentation of the stack sidebar listbox nicer for A11Y
This fixes #4577.
gtk/gtkstacksidebar.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/gtk/gtkstacksidebar.c b/gtk/gtkstacksidebar.c
index 49d26de430..0e84f52c11 100644
--- a/gtk/gtkstacksidebar.c
+++ b/gtk/gtkstacksidebar.c
@@ -148,6 +148,10 @@ gtk_stack_sidebar_init (GtkStackSidebar *self)
self->list = GTK_LIST_BOX (gtk_list_box_new ());
gtk_widget_add_css_class (GTK_WIDGET (self->list), "navigation-sidebar");
+ gtk_accessible_update_property (GTK_ACCESSIBLE (self->list),
+ GTK_ACCESSIBLE_PROPERTY_LABEL, "Sidebar",
+ -1);
+
gtk_scrolled_window_set_child (GTK_SCROLLED_WINDOW (sw), GTK_WIDGET (self->list));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]