mediacontrols: Add accessible labels

This commit is contained in:
Matthias Clasen 2023-06-17 18:51:54 -04:00
parent a9f8ec71a4
commit 21fa1d67ce

View File

@ -43,6 +43,9 @@
<property name="adjustment">time_adjustment</property> <property name="adjustment">time_adjustment</property>
<property name="restrict-to-fill-level">0</property> <property name="restrict-to-fill-level">0</property>
<property name="hexpand">1</property> <property name="hexpand">1</property>
<accessibility>
<property name="label" translatable="yes" context="media controls">Position</property>
</accessibility>
</object> </object>
</child> </child>
<child> <child>
@ -58,6 +61,9 @@
<object class="GtkVolumeButton" id="volume_button"> <object class="GtkVolumeButton" id="volume_button">
<property name="adjustment">volume_adjustment</property> <property name="adjustment">volume_adjustment</property>
<property name="valign">center</property> <property name="valign">center</property>
<accessibility>
<property name="label" translatable="yes" context="media controls">Volume</property>
</accessibility>
</object> </object>
</child> </child>
</object> </object>