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/pythonconsole/pythonconsole/Makefile.am | 6 ++++-- plugins/pythonconsole/pythonconsole/ui-a11y.suppr | 7 +++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 plugins/pythonconsole/pythonconsole/ui-a11y.suppr (limited to 'plugins/pythonconsole') diff --git a/plugins/pythonconsole/pythonconsole/Makefile.am b/plugins/pythonconsole/pythonconsole/Makefile.am index 05327ed6..77cb194f 100644 --- a/plugins/pythonconsole/pythonconsole/Makefile.am +++ b/plugins/pythonconsole/pythonconsole/Makefile.am @@ -7,9 +7,11 @@ plugin_PYTHON = \ config.py uidir = $(PLUMA_PLUGINS_DATA_DIR)/pythonconsole/ui -ui_DATA = config.ui +ui_files = config.ui +include $(top_srcdir)/gla11y.mk +ui_DATA = $(ui_files) -EXTRA_DIST = $(ui_DATA) +EXTRA_DIST = $(ui_DATA) ui-a11y.suppr CLEANFILES = DISTCLEANFILES = diff --git a/plugins/pythonconsole/pythonconsole/ui-a11y.suppr b/plugins/pythonconsole/pythonconsole/ui-a11y.suppr new file mode 100644 index 00000000..8b9e8cb4 --- /dev/null +++ b/plugins/pythonconsole/pythonconsole/ui-a11y.suppr @@ -0,0 +1,7 @@ +config.ui://GtkLabel[@id='label-error'] orphan-label +config.ui://GtkColorButton[@id='colorbutton-error'] button-no-label +config.ui://GtkColorButton[@id='colorbutton-command'] button-no-label +config.ui://GtkLabel[@id='label-command'] orphan-label +config.ui:GtkGrid[@id='widget-config']/GtkLabel orphan-label +config.ui:GtkGrid[@id='widget-config']/GtkLabel orphan-label +config.ui://GtkFontButton[@id='fontbutton-font'] no-labelled-by -- cgit v1.2.1