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
This commit is contained in:
parent
d1f38fed35
commit
aa2bd98aea
1 changed files with 15 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue