summaryrefslogtreecommitdiff
path: root/vcl/qa
diff options
context:
space:
mode:
authorSamuel Thibault <sthibault@hypra.fr>2018-05-04 12:59:45 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2018-05-07 00:24:40 +0200
commit4789eb9671c6d6fb0e131267b97a7ad3de8ac5ce (patch)
tree86cd953a2bd128d84567c6df91104c92242d10be /vcl/qa
parent99614e0a782a15749bdc3781d5319309c8d48b46 (diff)
vcl: Fix accessibility issues in demo.ui
Change-Id: I8da9fabe80f9c487b0c5ef225d55048ef544bf8e Reviewed-on: https://gerrit.libreoffice.org/53843 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'vcl/qa')
-rw-r--r--vcl/qa/cppunit/builder/demo.ui53
1 files changed, 52 insertions, 1 deletions
diff --git a/vcl/qa/cppunit/builder/demo.ui b/vcl/qa/cppunit/builder/demo.ui
index 47caf2d4d3c4..5e59a785dd7e 100644
--- a/vcl/qa/cppunit/builder/demo.ui
+++ b/vcl/qa/cppunit/builder/demo.ui
@@ -395,7 +395,9 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="no">Number of title pages</property>
+ <property name="label" translatable="no">_Number of title pages</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">NF_PAGE_COUNT</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -454,6 +456,9 @@
<property name="progress_pulse_step">1</property>
<property name="climb_rate">1</property>
<property name="numeric">True</property>
+ <accessibility>
+ <relation type="labelled-by" target="RB_PAGE_START"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">2</property>
@@ -534,6 +539,9 @@
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
<property name="group">RB_DOCUMENT_START</property>
+ <accessibility>
+ <relation type="label-for" target="NF_PAGE_START"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">1</property>
@@ -607,6 +615,9 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="no">Page number</property>
+ <accessibility>
+ <relation type="label-for" target="NF_RESTART_NUMBERING"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -620,6 +631,9 @@
<property name="sensitive">False</property>
<property name="can_focus">True</property>
<property name="numeric">True</property>
+ <accessibility>
+ <relation type="labelled-by" target="FT_PAGE_COUNT"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -661,6 +675,9 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="no">Page number</property>
+ <accessibility>
+ <relation type="label-for" target="NF_SET_PAGE_NUMBER"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -674,6 +691,9 @@
<property name="sensitive">False</property>
<property name="can_focus">True</property>
<property name="numeric">True</property>
+ <accessibility>
+ <relation type="labelled-by" target="FT_PAGE_PAGES"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -860,6 +880,7 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="no">Style</property>
+ <property name="mnemonic_widget">5</property>
</object>
<packing>
<property name="expand">False</property>
@@ -890,6 +911,9 @@
<property name="use_action_appearance">False</property>
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
+ <accessibility>
+ <relation type="label-for" target="8"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -905,6 +929,9 @@
<object class="GtkSpinButton" id="8">
<property name="visible">True</property>
<property name="can_focus">True</property>
+ <accessibility>
+ <relation type="labelled-by" target="7"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -1062,6 +1089,9 @@
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
<property name="group">15</property>
+ <accessibility>
+ <relation type="label-for" target="20"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -1073,6 +1103,9 @@
<object class="GtkSpinButton" id="20">
<property name="visible">True</property>
<property name="can_focus">True</property>
+ <accessibility>
+ <relation type="labelled-by" target="19"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -1174,6 +1207,9 @@
<property name="xalign">0</property>
<property name="draw_indicator">True</property>
<property name="group">22</property>
+ <accessibility>
+ <relation type="label-for" target="25"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -1185,6 +1221,9 @@
<object class="GtkSpinButton" id="25">
<property name="visible">True</property>
<property name="can_focus">True</property>
+ <accessibility>
+ <relation type="labelled-by" target="24"/>
+ </accessibility>
</object>
<packing>
<property name="expand">False</property>
@@ -1335,6 +1374,7 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="no">Paragraph Style</property>
+ <property name="mnemonic_widget">combobox2</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1361,6 +1401,7 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="no">Number</property>
+ <property name="mnemonic_widget">combobox3</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1375,6 +1416,7 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="no">Character Style</property>
+ <property name="mnemonic_widget">combobox4</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1389,6 +1431,7 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="no">Show sublevels</property>
+ <property name="mnemonic_widget">spinbutton2</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1494,6 +1537,7 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="no">Before</property>
+ <property name="mnemonic_widget">entry2</property>
</object>
</child>
</object>
@@ -1515,6 +1559,7 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="no">After</property>
+ <property name="mnemonic_widget">entry3</property>
</object>
</child>
</object>
@@ -1531,6 +1576,7 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="no">Start at</property>
+ <property name="mnemonic_widget">spinbutton3</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1668,6 +1714,7 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="no">Numbering followed by</property>
+ <property name="mnemonic_widget">combobox5</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1682,6 +1729,7 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="no">Numbering Alignment</property>
+ <property name="mnemonic_widget">combobox6</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1696,6 +1744,7 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="no">Aligned at</property>
+ <property name="mnemonic_widget">spinbutton6</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1710,6 +1759,7 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="no">Indent at</property>
+ <property name="mnemonic_widget">spinbutton4</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -1748,6 +1798,7 @@
<property name="can_focus">False</property>
<property name="xalign">1</property>
<property name="label" translatable="no">at</property>
+ <property name="mnemonic_widget">spinbutton5</property>
</object>
<packing>
<property name="left_attach">0</property>