[gnome-control-center] Background: Add accessible labels
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Background: Add accessible labels
- Date: Thu, 3 Nov 2011 13:28:34 +0000 (UTC)
commit aa2bd98aea1104f0bbbe87d6bab29b92c0dcec8a
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Nov 3 09:15:36 2011 -0400
Background: Add accessible labels
Image-only controls work much better with ATs if they have
labels that can e.g. be read in orca.
https://bugzilla.gnome.org/show_bug.cgi?id=663320
panels/background/background.ui | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/panels/background/background.ui b/panels/background/background.ui
index 93c1016..8ddfbec 100644
--- a/panels/background/background.ui
+++ b/panels/background/background.ui
@@ -234,6 +234,11 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="color">#000000000000</property>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="style-pcolor-a11y">
+ <property name="accessible-name" translatable="yes">Primary Color</property>
+ </object>
+ </child>
</object>
<packing>
<property name="expand">False</property>
@@ -247,6 +252,11 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_action_appearance">False</property>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="swap-color-a11y">
+ <property name="accessible-name" translatable="yes">Swap colors</property>
+ </object>
+ </child>
<child>
<object class="GtkImage" id="image1">
<property name="visible">True</property>
@@ -287,6 +297,11 @@
<property name="receives_default">True</property>
<property name="use_action_appearance">False</property>
<property name="color">#000000000000</property>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="style-scolor-a11y">
+ <property name="accessible-name" translatable="yes">Secondary color</property>
+ </object>
+ </child>
</object>
<packing>
<property name="expand">False</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]