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/snippets/snippets/Makefile.am | 6 ++++-- plugins/snippets/snippets/ui-a11y.suppr | 8 ++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 plugins/snippets/snippets/ui-a11y.suppr (limited to 'plugins/snippets') 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 -- cgit v1.2.1