From 9a0031211ae0ac88053de91b429ecf3b8d6d2d17 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 1 Jul 2019 16:18:56 +0200 Subject: Add support for checking .ui accessibility with gla11y --- src/Makefile.am | 12 ++++++++++-- src/ui-a11y.suppr | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 src/ui-a11y.suppr (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 0f917ea4..6b8f5d65 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -209,12 +209,19 @@ TESTS=check-caja endif uidir = $(datadir)/caja/ui + +ui_files = \ + caja-file-management-properties.ui \ + caja-bookmarks-window.ui \ + $(NULL) + +include $(top_srcdir)/gla11y.mk + ui_DATA = \ caja-shell-ui.xml \ caja-navigation-window-ui.xml \ caja-spatial-window-ui.xml \ - caja-file-management-properties.ui \ - caja-bookmarks-window.ui \ + $(ui_files) \ $(NULL) CLEANFILES = \ @@ -231,6 +238,7 @@ EXTRA_DIST = \ check-caja \ $(about_DATA) \ $(desktop_in_files) \ + ui-a11y.suppr \ $(NULL) dist-hook: diff --git a/src/ui-a11y.suppr b/src/ui-a11y.suppr new file mode 100644 index 00000000..c257b3c7 --- /dev/null +++ b/src/ui-a11y.suppr @@ -0,0 +1,35 @@ +caja-bookmarks-window.ui://GtkLabel[@id='label4'] orphan-label +caja-bookmarks-window.ui://GtkLabel[@id='bookmark_name_label'] orphan-label +caja-bookmarks-window.ui://GtkLabel[@id='label3'] orphan-label +caja-bookmarks-window.ui://GtkLabel[@id='bookmark_location_label'] orphan-label +caja-bookmarks-window.ui://GtkLabel[@id='label2'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label4'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label5'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label6'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label25'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label10'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label12'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label14'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label28'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label29'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='captions_label_0'] orphan-label +caja-file-management-properties.ui://GtkComboBoxText[@id='captions_0_combobox'] no-labelled-by +caja-file-management-properties.ui://GtkLabel[@id='captions_label_1'] orphan-label +caja-file-management-properties.ui://GtkComboBoxText[@id='captions_1_combobox'] no-labelled-by +caja-file-management-properties.ui://GtkLabel[@id='captions_label_2'] orphan-label +caja-file-management-properties.ui://GtkComboBoxText[@id='captions_2_combobox'] no-labelled-by +caja-file-management-properties.ui://GtkLabel[@id='label34'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label40'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label31'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label33'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label16'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label18'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label20'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label22'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label42'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label60'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label61'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label65'] orphan-label +caja-file-management-properties.ui://GtkLabel[@id='label7'] orphan-label +caja-file-management-properties.ui://GtkTreeView[@id='extension_view'] no-labelled-by -- cgit v1.2.1