[gnome-software] Improve a11y on the details page
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Improve a11y on the details page
- Date: Wed, 16 Oct 2013 02:51:35 +0000 (UTC)
commit 6757b0e4985fcaa1c13ffcc237d2971d45a30ff5
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Oct 15 22:50:24 2013 -0400
Improve a11y on the details page
Give the values in the details section suitable relations
to their labels, so orca knows to read them together.
src/gnome-software.ui | 30 ++++++++++++++++++++++++------
1 files changed, 24 insertions(+), 6 deletions(-)
---
diff --git a/src/gnome-software.ui b/src/gnome-software.ui
index 7632357..39dd337 100644
--- a/src/gnome-software.ui
+++ b/src/gnome-software.ui
@@ -929,10 +929,13 @@
<child>
<object class="GtkLabel" id="label_details_version_value">
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="can_focus">True</property>
<property name="xalign">0</property>
<property name="label">0.12.3</property>
<property name="selectable">True</property>
+ <accessibility>
+ <relation target="label_details_version_title" type="labelled-by"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">1</property>
@@ -961,10 +964,13 @@
<child>
<object class="GtkLabel" id="label_details_updated_value">
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="can_focus">True</property>
<property name="xalign">0</property>
<property name="label">May 12, 2012</property>
<property name="selectable">True</property>
+ <accessibility>
+ <relation target="label_details_updated_title" type="labelled-by"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">1</property>
@@ -993,11 +999,14 @@
<child>
<object class="GtkLabel" id="label_details_category_value">
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="can_focus">True</property>
<property name="xalign">0</property>
<property name="label">Photos & Video</property>
<property name="ellipsize">end</property>
<property name="selectable">True</property>
+ <accessibility>
+ <relation target="label_details_category_title" type="labelled-by"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">1</property>
@@ -1027,11 +1036,14 @@
<child>
<object class="GtkLabel" id="label_details_licence_value">
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="can_focus">True</property>
<property name="xalign">0</property>
<property name="label">GPL</property>
<property name="ellipsize">end</property>
<property name="selectable">True</property>
+ <accessibility>
+ <relation target="label_details_licence_title" type="labelled-by"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">3</property>
@@ -1061,10 +1073,13 @@
<child>
<object class="GtkLabel" id="label_details_size_value">
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="can_focus">True</property>
<property name="xalign">0</property>
<property name="label">30 MB</property>
<property name="selectable">True</property>
+ <accessibility>
+ <relation target="label_details_size_title" type="labelled-by"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">3</property>
@@ -1094,11 +1109,14 @@
<child>
<object class="GtkLabel" id="label_details_developer_value">
<property name="visible">True</property>
- <property name="can_focus">False</property>
+ <property name="can_focus">True</property>
<property name="xalign">0</property>
<property name="label">Yorba</property>
<property name="ellipsize">end</property>
<property name="selectable">True</property>
+ <accessibility>
+ <relation target="label_details_developer_title" type="labelled-by"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">3</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]