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/docinfo/Makefile.am | 6 ++++-- plugins/docinfo/ui-a11y.suppr | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 plugins/docinfo/ui-a11y.suppr (limited to 'plugins/docinfo') diff --git a/plugins/docinfo/Makefile.am b/plugins/docinfo/Makefile.am index 1a6cc931..611dc17e 100644 --- a/plugins/docinfo/Makefile.am +++ b/plugins/docinfo/Makefile.am @@ -16,7 +16,9 @@ libdocinfo_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) libdocinfo_la_LIBADD = $(PLUMA_LIBS) uidir = $(PLUMA_PLUGINS_DATA_DIR)/docinfo -ui_DATA = docinfo.ui +ui_files = docinfo.ui +include $(top_srcdir)/gla11y.mk +ui_DATA = $(ui_files) plugin_in_files = docinfo.plugin.desktop.in @@ -24,7 +26,7 @@ plugin_in_files = docinfo.plugin.desktop.in plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin) -EXTRA_DIST = $(ui_DATA) $(plugin_in_files) +EXTRA_DIST = $(ui_DATA) $(plugin_in_files) ui-a11y.suppr CLEANFILES = $(plugin_DATA) DISTCLEANFILES = $(plugin_DATA) diff --git a/plugins/docinfo/ui-a11y.suppr b/plugins/docinfo/ui-a11y.suppr new file mode 100644 index 00000000..79340e77 --- /dev/null +++ b/plugins/docinfo/ui-a11y.suppr @@ -0,0 +1,19 @@ +docinfo.ui://GtkLabel[@id='file_name_label'] orphan-label +docinfo.ui://GtkLabel[@id='label28'] orphan-label +docinfo.ui://GtkLabel[@id='label26'] orphan-label +docinfo.ui://GtkLabel[@id='bytes_label'] orphan-label +docinfo.ui://GtkLabel[@id='label5'] orphan-label +docinfo.ui://GtkLabel[@id='chars_ns_label'] orphan-label +docinfo.ui://GtkLabel[@id='label4'] orphan-label +docinfo.ui://GtkLabel[@id='chars_label'] orphan-label +docinfo.ui://GtkLabel[@id='words_label'] orphan-label +docinfo.ui://GtkLabel[@id='label2'] orphan-label +docinfo.ui://GtkLabel[@id='label6'] orphan-label +docinfo.ui://GtkLabel[@id='lines_label'] orphan-label +docinfo.ui://GtkLabel[@id='label30'] orphan-label +docinfo.ui://GtkLabel[@id='selection_label'] orphan-label +docinfo.ui://GtkLabel[@id='selected_lines_label'] orphan-label +docinfo.ui://GtkLabel[@id='selected_words_label'] orphan-label +docinfo.ui://GtkLabel[@id='selected_chars_label'] orphan-label +docinfo.ui://GtkLabel[@id='selected_chars_ns_label'] orphan-label +docinfo.ui://GtkLabel[@id='selected_bytes_label'] orphan-label -- cgit v1.2.1