From 06970a77f4d1d7aefd9b468a4ac75f737ebf5431 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 9 May 2019 18:41:39 +0200 Subject: Add support for checking .ui accessibility with gla11y --- capplets/keyboard/Makefile.am | 18 ++++++++++----- capplets/keyboard/ui-a11y.suppr | 51 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+), 6 deletions(-) create mode 100644 capplets/keyboard/ui-a11y.suppr (limited to 'capplets/keyboard') diff --git a/capplets/keyboard/Makefile.am b/capplets/keyboard/Makefile.am index 30c77705..a46996d8 100644 --- a/capplets/keyboard/Makefile.am +++ b/capplets/keyboard/Makefile.am @@ -1,6 +1,13 @@ # This is used in MATECC_CAPPLETS_CFLAGS cappletname = keyboard +ui_files = mate-keyboard-properties-a11y-notifications.ui \ + mate-keyboard-properties-dialog.ui \ + mate-keyboard-properties-layout-chooser.ui \ + mate-keyboard-properties-model-chooser.ui \ + mate-keyboard-properties-options-dialog.ui + + bin_PROGRAMS = mate-keyboard-properties BUILT_SOURCES = mate-keyboard-properties-resources.h mate-keyboard-properties-resources.c @@ -22,6 +29,8 @@ mate_keyboard_properties_LDADD = $(MATECC_CAPPLETS_LIBS) $(LIBMATEKBDUI_LIBS) @INTLTOOL_DESKTOP_RULE@ +include $(top_srcdir)/gla11y.mk + desktopdir = $(datadir)/applications Desktop_in_files = mate-keyboard.desktop.in desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop) @@ -36,12 +45,9 @@ AM_CPPFLAGS = \ -DMATECC_DATA_DIR="\"$(pkgdatadir)\"" CLEANFILES = $(MATECC_CAPPLETS_CLEANFILES) $(desktop_DATA) $(BUILT_SOURCES) EXTRA_DIST = \ - mate-keyboard-properties-a11y-notifications.ui \ - mate-keyboard-properties-dialog.ui \ - mate-keyboard-properties-layout-chooser.ui \ - mate-keyboard-properties-model-chooser.ui \ - mate-keyboard-properties-options-dialog.ui \ + $(ui_files) \ $(Desktop_in_files) \ - org.mate.mcc.keyboard.gresource.xml + org.mate.mcc.keyboard.gresource.xml \ + ui-a11y.suppr -include $(top_srcdir)/git.mk diff --git a/capplets/keyboard/ui-a11y.suppr b/capplets/keyboard/ui-a11y.suppr new file mode 100644 index 00000000..e2c2d70c --- /dev/null +++ b/capplets/keyboard/ui-a11y.suppr @@ -0,0 +1,51 @@ +mate-keyboard-properties-a11y-notifications.ui://GtkLabel[@id='label33'] orphan-label +mate-keyboard-properties-a11y-notifications.ui://GtkLabel[@id='label40'] orphan-label +mate-keyboard-properties-a11y-notifications.ui://GtkLabel[@id='label47'] orphan-label +mate-keyboard-properties-a11y-notifications.ui://GtkLabel[@id='label50'] orphan-label +mate-keyboard-properties-a11y-notifications.ui://GtkLabel[@id='label500'] orphan-label +mate-keyboard-properties-a11y-notifications.ui://GtkLabel[@id='label99'] orphan-label +mate-keyboard-properties-a11y-notifications.ui://GtkLabel[@id='label98'] orphan-label +mate-keyboard-properties-a11y-notifications.ui://GtkLabel[@id='label51'] orphan-label +mate-keyboard-properties-a11y-notifications.ui://GtkLabel[@id='label53'] orphan-label +mate-keyboard-properties-a11y-notifications.ui://GtkLabel[@id='label54'] orphan-label +mate-keyboard-properties-a11y-notifications.ui://GtkLabel[@id='label55'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='label1'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='label43'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='delay_short_label'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='repeat_slow_label'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='delay_long_label'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='repeat_fast_label'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='label5'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='label44'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='blink_fast_label'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='blink_slow_label'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='label3'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='label73'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='label74'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='label75'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='label76'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='slowkeys_slow_label'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='slowkeys_long_label'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='label77'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='label78'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='bouncekeys_short_label'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='bouncekeys_long_label'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='label80'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='mousekeys_slow_label2'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='mousekeys_fast_label'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='mousekeys_fast_label2'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='mousekeys_slow_label'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='mousekeys_short_label'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='mousekeys_long_label'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='label45'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='label39'] orphan-label +mate-keyboard-properties-dialog.ui://GtkLabel[@id='label31'] orphan-label +mate-keyboard-properties-layout-chooser.ui://GtkComboBox[@id='xkb_country_variants_available'] duplicate-mnemonic +mate-keyboard-properties-layout-chooser.ui://GtkComboBox[@id='xkb_countries_available'] duplicate-mnemonic +mate-keyboard-properties-layout-chooser.ui://GtkComboBox[@id='xkb_language_variants_available'] no-labelled-by +mate-keyboard-properties-layout-chooser.ui://GtkComboBox[@id='xkb_languages_available'] no-labelled-by +mate-keyboard-properties-layout-chooser.ui://GtkLabel[@id='label10'] orphan-label +mate-keyboard-properties-model-chooser.ui://GtkLabel[@id='vendors_label'] orphan-label +mate-keyboard-properties-model-chooser.ui://GtkTreeView[@id='vendors_list'] no-labelled-by +mate-keyboard-properties-model-chooser.ui://GtkLabel[@id='label7'] orphan-label +mate-keyboard-properties-model-chooser.ui://GtkTreeView[@id='models_list'] no-labelled-by -- cgit v1.2.1