summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorValentin Villenave <[email protected]>2021-10-13 17:39:30 +0200
committerraveit65 <[email protected]>2022-03-10 19:31:29 +0100
commit6f8f4c8b3f82af1f0aa811cf190bc4b74678e267 (patch)
tree7750cb38edd304a067bc4b13bf4dd380d9621db1 /src/ui
parentbc3d0ca4b7c7672c20a1096ba614bf7b536ded74 (diff)
downloadengrampa-6f8f4c8b3f82af1f0aa811cf190bc4b74678e267.tar.bz2
engrampa-6f8f4c8b3f82af1f0aa811cf190bc4b74678e267.tar.xz
Accessibility: add proper mnemonic relations and labelling
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/batch-add-files.ui1
-rw-r--r--src/ui/new.ui5
-rw-r--r--src/ui/properties.ui8
3 files changed, 14 insertions, 0 deletions
diff --git a/src/ui/batch-add-files.ui b/src/ui/batch-add-files.ui
index 6a4ee5b..c6f6980 100644
--- a/src/ui/batch-add-files.ui
+++ b/src/ui/batch-add-files.ui
@@ -322,6 +322,7 @@
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">_Password:</property>
+ <property name="mnemonic_widget">a_password_entry</property>
<property name="use_underline">True</property>
</object>
<packing>
diff --git a/src/ui/new.ui b/src/ui/new.ui
index 391a3e2..30e869b 100644
--- a/src/ui/new.ui
+++ b/src/ui/new.ui
@@ -160,6 +160,11 @@
<property name="climb_rate">1</property>
<property name="digits">1</property>
<property name="numeric">True</property>
+ <child internal-child="accessible">
+ <object class="AtkObject">
+ <property name="AtkObject::accessible-name" translatable="yes" comments="MB means megabytes">MB</property>
+ </object>
+ </child>
</object>
<packing>
<property name="expand">False</property>
diff --git a/src/ui/properties.ui b/src/ui/properties.ui
index 75850c5..78634c7 100644
--- a/src/ui/properties.ui
+++ b/src/ui/properties.ui
@@ -87,6 +87,7 @@
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes" context="File">Name:</property>
+ <property name="mnemonic_widget">p_name_label</property>
<property name="justify">center</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -103,6 +104,7 @@
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Archive size:</property>
+ <property name="mnemonic_widget">p_size_label</property>
<property name="justify">center</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -143,6 +145,7 @@
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Compression ratio:</property>
+ <property name="mnemonic_widget">p_cratio_label</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -170,6 +173,7 @@
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Content size:</property>
+ <property name="mnemonic_widget">p_uncomp_size_label</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -209,6 +213,7 @@
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Number of files:</property>
+ <property name="mnemonic_widget">p_files_label</property>
<property name="justify">center</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -251,6 +256,7 @@
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Location:</property>
+ <property name="mnemonic_widget">p_path_label</property>
<property name="justify">center</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -267,6 +273,7 @@
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Last modified:</property>
+ <property name="mnemonic_widget">p_date_label</property>
<property name="justify">center</property>
<attributes>
<attribute name="weight" value="bold"/>
@@ -283,6 +290,7 @@
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Type:</property>
+ <property name="mnemonic_widget">p_mime_type_label</property>
<property name="justify">center</property>
<attributes>
<attribute name="weight" value="bold"/>