summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2019-05-09 14:39:27 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2019-05-10 22:19:19 +0200
commitd422a9d0cb914260192fbc68305db088af022204 (patch)
tree65f6014c511a9b065be49cb6e18c8c8f99f11f9e /svx
parentf29fded5a52f4c2fc1aae307e1f43326dd04108c (diff)
tdf#119931 Fix a11y warnings in classificationdialog.ui
Make "Content" a label for the drawing area Change-Id: I2238ea42d33564d848376e3c33b9d9a46af094ae Reviewed-on: https://gerrit.libreoffice.org/72045 Tested-by: Jenkins Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'svx')
-rw-r--r--svx/uiconfig/ui/classificationdialog.ui8
1 files changed, 7 insertions, 1 deletions
diff --git a/svx/uiconfig/ui/classificationdialog.ui b/svx/uiconfig/ui/classificationdialog.ui
index e4c9c0299ae6..29690610e250 100644
--- a/svx/uiconfig/ui/classificationdialog.ui
+++ b/svx/uiconfig/ui/classificationdialog.ui
@@ -274,12 +274,15 @@
<property name="vexpand">True</property>
<property name="row_spacing">3</property>
<child>
- <object class="GtkLabel">
+ <object class="GtkLabel" id="classificationContentLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes" context="classificationdialog|label-Content">Content</property>
<property name="xalign">0</property>
<property name="yalign">0</property>
+ <accessibility>
+ <relation type="label-for" target="classificationEditWindow"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">0</property>
@@ -341,6 +344,9 @@
<property name="can_focus">True</property>
<property name="events">GDK_BUTTON_MOTION_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_FOCUS_CHANGE_MASK | GDK_STRUCTURE_MASK</property>
<property name="hexpand">True</property>
+ <accessibility>
+ <relation type="labelled-by" target="classificationContentLabel"/>
+ </accessibility>
</object>
</child>
</object>