summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Villenave <[email protected]>2021-10-12 13:41:59 +0200
committerraveit65 <[email protected]>2021-11-14 19:08:53 +0100
commit785eb88e75c2da2dadfc1aca869761ece725abad (patch)
tree279e94f1322d61ec8131c7f9397715214e8ec70f
parentcd3df0e0fe3481fc52d897cb4a304fba180fcf2b (diff)
downloadeom-785eb88e75c2da2dadfc1aca869761ece725abad.tar.bz2
eom-785eb88e75c2da2dadfc1aca869761ece725abad.tar.xz
Accessibility: add proper mnemonic relations and labelling
-rw-r--r--data/eom-image-properties-dialog.ui6
-rw-r--r--data/eom-preferences-dialog.ui15
2 files changed, 21 insertions, 0 deletions
diff --git a/data/eom-image-properties-dialog.ui b/data/eom-image-properties-dialog.ui
index fdff309..ab42ec1 100644
--- a/data/eom-image-properties-dialog.ui
+++ b/data/eom-image-properties-dialog.ui
@@ -145,6 +145,7 @@
<property name="margin-top">8</property>
<property name="margin-bottom">8</property>
<property name="label" translatable="yes">Name:</property>
+ <property name="mnemonic-widget">name_label</property>
<property name="justify">right</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -164,6 +165,7 @@
<property name="margin-top">8</property>
<property name="margin-bottom">8</property>
<property name="label" translatable="yes">Width:</property>
+ <property name="mnemonic-widget">width_label</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -182,6 +184,7 @@
<property name="margin-top">8</property>
<property name="margin-bottom">8</property>
<property name="label" translatable="yes">Height:</property>
+ <property name="mnemonic-widget">height_label</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -200,6 +203,7 @@
<property name="margin-top">8</property>
<property name="margin-bottom">8</property>
<property name="label" translatable="yes">Type:</property>
+ <property name="mnemonic-widget">type_label</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -218,6 +222,7 @@
<property name="margin-top">8</property>
<property name="margin-bottom">8</property>
<property name="label" translatable="yes">Bytes:</property>
+ <property name="mnemonic-widget">bytes_label</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -236,6 +241,7 @@
<property name="margin-top">8</property>
<property name="margin-bottom">8</property>
<property name="label" translatable="yes">Location:</property>
+ <property name="mnemonic-widget">folder_button</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
diff --git a/data/eom-preferences-dialog.ui b/data/eom-preferences-dialog.ui
index 9974193..c32e5b2 100644
--- a/data/eom-preferences-dialog.ui
+++ b/data/eom-preferences-dialog.ui
@@ -277,6 +277,11 @@
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="title" translatable="yes">Background Color</property>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="bg_color_accessible">
+ <property name="AtkObject::accessible-name" translatable="yes">Background Color</property>
+ </object>
+ </child>
</object>
<packing>
<property name="expand">False</property>
@@ -388,6 +393,11 @@
<property name="use-alpha">True</property>
<property name="title" translatable="yes">Color for Transparent Areas</property>
<property name="rgba">rgb(0,0,0)</property>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="transp_color_accessible">
+ <property name="AtkObject::accessible-name" translatable="yes">Color for Transparent Areas</property>
+ </object>
+ </child>
</object>
<packing>
<property name="expand">False</property>
@@ -609,6 +619,11 @@
<property name="adjustment">adjustment1</property>
<property name="climb-rate">1</property>
<property name="numeric">True</property>
+ <child internal-child="accessible">
+ <object class="AtkObject">
+ <property name="AtkObject::accessible-name" translatable="yes">seconds</property>
+ </object>
+ </child>
</object>
<packing>
<property name="expand">False</property>