[nautilus] Preferences: Add more ATK relations and accessible-roles to make the dialog more appealing to screen
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] Preferences: Add more ATK relations and accessible-roles to make the dialog more appealing to screen
- Date: Wed, 2 May 2018 15:53:27 +0000 (UTC)
commit 8c9203d6a8fa5622c739261c5c59bd56c9c7f0f6
Author: Peter Vágner <pvagner pvagner tk>
Date: Fri Apr 27 07:45:38 2018 +0200
Preferences: Add more ATK relations and accessible-roles to make the
dialog more appealing to screen reader users
src/resources/ui/nautilus-preferences-window.ui | 140 ++++++++++++++++++++++++
1 file changed, 140 insertions(+)
---
diff --git a/src/resources/ui/nautilus-preferences-window.ui b/src/resources/ui/nautilus-preferences-window.ui
index edbabcbda..8cf07ff5f 100644
--- a/src/resources/ui/nautilus-preferences-window.ui
+++ b/src/resources/ui/nautilus-preferences-window.ui
@@ -46,6 +46,9 @@
<attributes>
<attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>
+ <accessibility>
+ <relation type="label-for" target="vbox12"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -70,6 +73,14 @@
<property name="position">1</property>
</packing>
</child>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="vbox12-atkobject">
+ <property name="AtkObject::accessible-role">38</property>
+ </object>
+ </child>
+ <accessibility>
+ <relation type="labelled-by" target="label6"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -92,6 +103,9 @@
<attributes>
<attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>
+ <accessibility>
+ <relation type="label-for" target="box1"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -116,6 +130,14 @@
<property name="position">1</property>
</packing>
</child>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="box1-atkobject">
+ <property name="AtkObject::accessible-role">38</property>
+ </object>
+ </child>
+ <accessibility>
+ <relation type="labelled-by" target="label7"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -138,6 +160,9 @@
<attributes>
<attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>
+ <accessibility>
+ <relation type="label-for" target="box2"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -162,6 +187,14 @@
<property name="position">1</property>
</packing>
</child>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="box2-atkobject">
+ <property name="AtkObject::accessible-role">38</property>
+ </object>
+ </child>
+ <accessibility>
+ <relation type="labelled-by" target="label19"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -184,6 +217,9 @@
<attributes>
<attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>
+ <accessibility>
+ <relation type="label-for" target="vbox27"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -199,6 +235,11 @@
<property name="wrap">True</property>
<property name="max_width_chars">65</property>
<property name="xalign">0</property>
+ <accessibility>
+ <relation type="description-for" target="captions_0_combobox"/>
+ <relation type="description-for" target="captions_1_combobox"/>
+ <relation type="description-for" target="captions_2_combobox"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -234,6 +275,7 @@
<property name="can_focus">False</property>
<accessibility>
<relation type="labelled-by" target="label8"/>
+ <relation type="described-by" target="label29"/>
</accessibility>
</object>
<packing>
@@ -269,6 +311,7 @@
<property name="can_focus">False</property>
<accessibility>
<relation type="labelled-by" target="label11"/>
+ <relation type="described-by" target="label29"/>
</accessibility>
</object>
<packing>
@@ -304,6 +347,7 @@
<property name="can_focus">False</property>
<accessibility>
<relation type="labelled-by" target="label9"/>
+ <relation type="described-by" target="label29"/>
</accessibility>
</object>
<packing>
@@ -379,6 +423,14 @@
<property name="position">3</property>
</packing>
</child>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="vbox27-atkobject">
+ <property name="AtkObject::accessible-role">38</property>
+ </object>
+ </child>
+ <accessibility>
+ <relation type="labelled-by" target="label28"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -423,6 +475,9 @@
<attributes>
<attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>
+ <accessibility>
+ <relation type="label-for" target="vbox6"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -466,6 +521,14 @@
<property name="position">3</property>
</packing>
</child>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="vbox6-atkobject">
+ <property name="AtkObject::accessible-role">38</property>
+ </object>
+ </child>
+ <accessibility>
+ <relation type="labelled-by" target="label10"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -488,6 +551,9 @@
<attributes>
<attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>
+ <accessibility>
+ <relation type="label-for" target="vbox14"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -512,6 +578,14 @@
<property name="position">1</property>
</packing>
</child>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="vbox14-atkobject">
+ <property name="AtkObject::accessible-role">38</property>
+ </object>
+ </child>
+ <accessibility>
+ <relation type="labelled-by" target="label13"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -534,6 +608,9 @@
<attributes>
<attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>
+ <accessibility>
+ <relation type="label-for" target="vbox7"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -595,6 +672,14 @@
<property name="position">4</property>
</packing>
</child>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="vbox7-atkobject">
+ <property name="AtkObject::accessible-role">38</property>
+ </object>
+ </child>
+ <accessibility>
+ <relation type="labelled-by" target="label12"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -617,6 +702,9 @@
<attributes>
<attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>
+ <accessibility>
+ <relation type="label-for" target="vbox8"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -658,6 +746,14 @@
<property name="position">2</property>
</packing>
</child>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="vbox8-atkobject">
+ <property name="AtkObject::accessible-role">38</property>
+ </object>
+ </child>
+ <accessibility>
+ <relation type="labelled-by" target="label14"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -709,6 +805,9 @@
<property name="wrap">True</property>
<property name="max_width_chars">65</property>
<property name="xalign">0</property>
+ <accessibility>
+ <relation type="label-for" target="list_columns_vbox"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -719,6 +818,14 @@
<child>
<placeholder/>
</child>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="list_columns_vbox-atkobject">
+ <property name="AtkObject::accessible-role">38</property>
+ </object>
+ </child>
+ <accessibility>
+ <relation type="labelled-by" target="label33"/>
+ </accessibility>
</object>
<packing>
<property name="expand">True</property>
@@ -785,6 +892,9 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes">Search in subfolders:</property>
<property name="xalign">0</property>
+ <accessibility>
+ <relation type="label-for" target="vbox3"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -843,6 +953,14 @@
<property name="position">4</property>
</packing>
</child>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="vbox3-atkobject">
+ <property name="AtkObject::accessible-role">38</property>
+ </object>
+ </child>
+ <accessibility>
+ <relation type="labelled-by" target="label4"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -878,6 +996,9 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes">Show thumbnails:</property>
<property name="xalign">0</property>
+ <accessibility>
+ <relation type="label-for" target="vbox11"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -978,6 +1099,14 @@
<property name="position">5</property>
</packing>
</child>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="vbox11-atkobject">
+ <property name="AtkObject::accessible-role">38</property>
+ </object>
+ </child>
+ <accessibility>
+ <relation type="labelled-by" target="label15"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -1013,6 +1142,9 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes">Count number of files in
folders:</property>
<property name="xalign">0</property>
+ <accessibility>
+ <relation type="label-for" target="vbox13"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -1071,6 +1203,14 @@
<property name="position">4</property>
</packing>
</child>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="vbox13-atkobject">
+ <property name="AtkObject::accessible-role">38</property>
+ </object>
+ </child>
+ <accessibility>
+ <relation type="labelled-by" target="label16"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]