summaryrefslogtreecommitdiff
path: root/plugins/snippets
diff options
context:
space:
mode:
authorSamuel Thibault <[email protected]>2019-07-01 17:10:44 +0200
committerraveit65 <[email protected]>2019-07-08 15:11:17 +0200
commit45145244b6dd9dc11b6d9a6daf4e442cef9457fa (patch)
tree7a177dc7e47804d72766a6b852ab34c9523ee8e5 /plugins/snippets
parentdb655f3fb2f67b695d36369e584fcb598e0e1bea (diff)
downloadpluma-45145244b6dd9dc11b6d9a6daf4e442cef9457fa.tar.bz2
pluma-45145244b6dd9dc11b6d9a6daf4e442cef9457fa.tar.xz
Add support for checking .ui accessibility with gla11y
Diffstat (limited to 'plugins/snippets')
-rw-r--r--plugins/snippets/snippets/Makefile.am6
-rw-r--r--plugins/snippets/snippets/ui-a11y.suppr8
2 files changed, 12 insertions, 2 deletions
diff --git a/plugins/snippets/snippets/Makefile.am b/plugins/snippets/snippets/Makefile.am
index 2568707f..8ca77bdc 100644
--- a/plugins/snippets/snippets/Makefile.am
+++ b/plugins/snippets/snippets/Makefile.am
@@ -19,9 +19,11 @@ plugin_PYTHON = \
comment.py
uidir = $(PLUMA_PLUGINS_DATA_DIR)/snippets/ui
-ui_DATA = snippets.ui
+ui_files = snippets.ui
+include $(top_srcdir)/gla11y.mk
+ui_DATA = $(ui_files)
-EXTRA_DIST = $(ui_DATA)
+EXTRA_DIST = $(ui_DATA) ui-a11y.suppr
CLEANFILES = *.bak *.gladep *.pyc
DISTCLEANFILES = *.bak *.gladep *.pyc
diff --git a/plugins/snippets/snippets/ui-a11y.suppr b/plugins/snippets/snippets/ui-a11y.suppr
new file mode 100644
index 00000000..2ddd19d0
--- /dev/null
+++ b/plugins/snippets/snippets/ui-a11y.suppr
@@ -0,0 +1,8 @@
+snippets.ui://PlumaView[@id='source_view_snippet'] no-labelled-by
+snippets.ui://GtkLabel[@id='label4'] orphan-label
+snippets.ui://GtkLabel[@id='label3'] orphan-label
+snippets.ui://GtkComboBox[@id='combo_drop_targets'] no-labelled-by
+snippets.ui://GtkLabel[@id='label_drop_targets'] orphan-label
+snippets.ui://GtkLabel[@id='label_accelerator'] orphan-label
+snippets.ui://GtkLabel[@id='label_tab_trigger'] orphan-label
+snippets.ui://GtkImage[@id='image_tab_trigger'] no-labelled-by