From 45145244b6dd9dc11b6d9a6daf4e442cef9457fa Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 1 Jul 2019 17:10:44 +0200 Subject: Add support for checking .ui accessibility with gla11y --- plugins/externaltools/tools/Makefile.am | 6 ++++-- plugins/externaltools/tools/ui-a11y.suppr | 15 +++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 plugins/externaltools/tools/ui-a11y.suppr (limited to 'plugins/externaltools') 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 -- cgit v1.2.1