Fix accessibility of the buttons in the test sound output dialog

They had only icons, so name them for screen readers.
This commit is contained in:
Lukáš Tyrychtr 2022-12-21 16:09:33 +01:00 committed by Georges Basile Stavracas Neto
parent c5c64f2b7d
commit cb333cd59c
2 changed files with 6 additions and 1 deletions

View file

@ -212,6 +212,11 @@ cc_speaker_test_button_new (GSoundContext *context,
self->context = g_object_ref (context);
self->position = position;
update_icon (self);
gtk_accessible_update_property (GTK_ACCESSIBLE (self),
GTK_ACCESSIBLE_PROPERTY_LABEL,
pa_channel_position_to_pretty_string (position),
-1);
return self;
}

@ -1 +1 @@
Subproject commit 8e7a5a4c3e51007ce6579292642517e3d3eb9c50
Subproject commit 7a621180b46421e356b33972e3446775a504139c