summaryrefslogtreecommitdiff
path: root/plugins/externaltools
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/externaltools
parentdb655f3fb2f67b695d36369e584fcb598e0e1bea (diff)
downloadpluma-45145244b6dd9dc11b6d9a6daf4e442cef9457fa.tar.bz2
pluma-45145244b6dd9dc11b6d9a6daf4e442cef9457fa.tar.xz
Add support for checking .ui accessibility with gla11y
Diffstat (limited to 'plugins/externaltools')
-rw-r--r--plugins/externaltools/tools/Makefile.am6
-rw-r--r--plugins/externaltools/tools/ui-a11y.suppr15
2 files changed, 19 insertions, 2 deletions
diff --git a/plugins/externaltools/tools/Makefile.am b/plugins/externaltools/tools/Makefile.am
index d90eb4aa..7eeceb98 100644
--- a/plugins/externaltools/tools/Makefile.am
+++ b/plugins/externaltools/tools/Makefile.am
@@ -12,10 +12,12 @@ plugin_PYTHON = \
linkparsing.py
uidir = $(PLUMA_PLUGINS_DATA_DIR)/externaltools/ui
-ui_DATA = tools.ui \
+ui_files = tools.ui \
outputpanel.ui
+include $(top_srcdir)/gla11y.mk
+ui_DATA = $(ui_files)
-EXTRA_DIST = $(ui_DATA)
+EXTRA_DIST = $(ui_DATA) ui-a11y.suppr
CLEANFILES = *.bak *.gladep
DISTCLEANFILES = *.bak *.gladep
diff --git a/plugins/externaltools/tools/ui-a11y.suppr b/plugins/externaltools/tools/ui-a11y.suppr
new file mode 100644
index 00000000..1e7a68e1
--- /dev/null
+++ b/plugins/externaltools/tools/ui-a11y.suppr
@@ -0,0 +1,15 @@
+tools.ui://GtkButton[@id='new-tool-button'] button-no-label
+tools.ui://GtkButton[@id='remove-tool-button'] button-no-label
+tools.ui://GtkButton[@id='revert-tool-button'] button-no-label
+tools.ui://GtkLabel[@id='label23'] orphan-label
+tools.ui://GtkLabel[@id='label8'] orphan-label
+tools.ui://GtkLabel[@id='label7'] orphan-label
+tools.ui://GtkLabel[@id='label6'] orphan-label
+tools.ui://GtkLabel[@id='label3'] orphan-label
+tools.ui://GtkComboBox[@id='output'] no-labelled-by
+tools.ui://GtkComboBox[@id='input'] no-labelled-by
+tools.ui://GtkComboBox[@id='save-files'] no-labelled-by
+tools.ui://GtkEntry[@id='accelerator'] no-labelled-by
+tools.ui://PlumaView[@id='commands'] no-labelled-by
+tools.ui://GtkComboBox[@id='applicability'] no-labelled-by
+tools.ui://GtkLabel[@id='title'] orphan-label