universal access: Fix labels for switches in zoom options

Setting mnemonic-widget on the labels makes orca read out meaningful
text for the switches.
https://bugzilla.gnome.org/show_bug.cgi?id=683703
This commit is contained in:
Matthias Clasen 2012-09-13 06:28:44 -04:00
parent 4e24e944eb
commit 539d78cb63

View file

@ -95,6 +95,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Zoom</property>
<property name="mnemonic_widget">seeing_zoom_switch</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="scale" value="1.25"/>
@ -213,6 +214,7 @@
<property name="xalign">0</property>
<property name="ypad">2</property>
<property name="label" translatable="yes">Magnification:</property>
<property name="mnemonic_widget">magFactorSpinButton</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="scale" value="1.25"/>
@ -510,6 +512,7 @@
<property name="xalign">0</property>
<property name="label" translatable="yes">Thickness:</property>
<property name="justify">center</property>
<property name="mnemonic_widget">xHairsThicknessSlider</property>
<property name="width_chars">12</property>
<attributes>
<attribute name="scale" value="1.25"/>
@ -591,6 +594,7 @@
<property name="xalign">0</property>
<property name="label" translatable="yes">Length:</property>
<property name="justify">center</property>
<property name="mnemonic_widget">xHairsLengthSlider</property>
<property name="width_chars">12</property>
<accessibility>
<relation type="label-for" target="xHairsLengthSlider"/>
@ -639,6 +643,7 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Color:</property>
<property name="mnemonic_widget">xHairsPicker</property>
<attributes>
<attribute name="scale" value="1.25"/>
</attributes>
@ -702,6 +707,7 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes">Crosshairs:</property>
<property name="use_markup">True</property>
<property name="mnemonic_widget">xhairsEnabledSwitch</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="scale" value="1.25"/>
@ -836,6 +842,7 @@
<property name="xalign">0</property>
<property name="label" translatable="yes">White on black:</property>
<property name="justify">right</property>
<property name="mnemonic_widget">inverseEnabledSwitch</property>
<property name="width_chars">12</property>
<accessibility>
<relation type="label-for" target="inverseEnabledSwitch"/>
@ -858,6 +865,7 @@
<property name="xalign">0</property>
<property name="label" translatable="yes">Brightness:</property>
<property name="justify">right</property>
<property name="mnemonic_widget">brightnessSlider</property>
<property name="width_chars">12</property>
<accessibility>
<relation type="label-for" target="brightnessSlider"/>
@ -880,6 +888,7 @@
<property name="xalign">0</property>
<property name="label" translatable="yes">Contrast:</property>
<property name="justify">right</property>
<property name="mnemonic_widget">contrastSlider</property>
<accessibility>
<relation type="label-for" target="contrastSlider"/>
</accessibility>
@ -901,6 +910,7 @@
<property name="xalign">0</property>
<property name="label" translatable="yes" context="Zoom Grayscale">Color</property>
<property name="justify">right</property>
<property name="mnemonic_widget">grayscale_slider</property>
<accessibility>
<relation type="label-for" target="grayscale_slider"/>
</accessibility>