Some more a11y fixes
Add labelled-by relations to 'label-less' switches.
This commit is contained in:
parent
c4c9a74b8a
commit
ebe174f51c
1 changed files with 10 additions and 3 deletions
|
@ -119,6 +119,9 @@
|
|||
<property name="digits">0</property>
|
||||
<property name="draw_value">False</property>
|
||||
<property name="value_pos">bottom</property>
|
||||
<accessibility>
|
||||
<relation target="brightness-section-heading" type="labelled-by"/>
|
||||
</accessibility>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="position">0</property>
|
||||
|
@ -126,7 +129,8 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="GtkCheckButton" id="screen_auto_reduce_checkbutton">
|
||||
<property name="label" translatable="yes">Dim screen to save power</property>
|
||||
<property name="label" translatable="yes">_Dim screen to save power</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">False</property>
|
||||
|
@ -178,7 +182,7 @@
|
|||
</object>
|
||||
</child>
|
||||
<child type="label">
|
||||
<object class="GtkLabel" id="label5">
|
||||
<object class="GtkLabel" id="brightness-section-heading">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Brightness</property>
|
||||
<property name="use_markup">True</property>
|
||||
|
@ -216,6 +220,9 @@
|
|||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">False</property>
|
||||
<accessibility>
|
||||
<relation target="lock-section-heading" type="labelled-by"/>
|
||||
</accessibility>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
|
@ -305,7 +312,7 @@
|
|||
</object>
|
||||
</child>
|
||||
<child type="label">
|
||||
<object class="GtkLabel" id="label6">
|
||||
<object class="GtkLabel" id="lock-section-heading">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Lock</property>
|
||||
<property name="use_markup">True</property>
|
||||
|
|
Loading…
Add table
Reference in a new issue