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/spell/Makefile.am | 7 +++++-- plugins/spell/ui-a11y.suppr | 6 ++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 plugins/spell/ui-a11y.suppr (limited to 'plugins/spell') diff --git a/plugins/spell/Makefile.am b/plugins/spell/Makefile.am index 3d2d5f93..1ea7462e 100644 --- a/plugins/spell/Makefile.am +++ b/plugins/spell/Makefile.am @@ -34,7 +34,9 @@ libspell_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS) libspell_la_LIBADD = $(PLUMA_LIBS) $(ENCHANT_LIBS) uidir = $(PLUMA_PLUGINS_DATA_DIR)/spell -ui_DATA = spell-checker.ui languages-dialog.ui pluma-spell-setup-dialog.ui +ui_files = spell-checker.ui languages-dialog.ui pluma-spell-setup-dialog.ui +include $(top_srcdir)/gla11y.mk +ui_DATA = $(ui_files) pluma-spell-marshal.h: pluma-spell-marshal.list $(GLIB_GENMARSHAL) $(AM_V_GEN) $(GLIB_GENMARSHAL) $< --header --prefix=pluma_marshal > $@ @@ -59,7 +61,8 @@ EXTRA_DIST = \ $(ui_DATA) \ $(plugin_in_files) \ pluma-spell-marshal.list \ - $(spell_gschema_in) + $(spell_gschema_in) \ + ui-a11y.suppr CLEANFILES = $(BUILT_SOURCES) $(plugin_DATA) $(gsettings_SCHEMAS) diff --git a/plugins/spell/ui-a11y.suppr b/plugins/spell/ui-a11y.suppr new file mode 100644 index 00000000..4fbeed70 --- /dev/null +++ b/plugins/spell/ui-a11y.suppr @@ -0,0 +1,6 @@ +pluma-spell-setup-dialog.ui://GtkLabel[@id='label1'] orphan-label +spell-checker.ui://GtkLabel[@id='label1'] orphan-label +spell-checker.ui://GtkLabel[@id='misspelled_word_label'] orphan-label +spell-checker.ui://GtkLabel[@id='label6'] orphan-label +spell-checker.ui://GtkLabel[@id='label44'] orphan-label +spell-checker.ui://GtkLabel[@id='language_label'] orphan-label -- cgit v1.2.1