summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSamuel Thibault <[email protected]>2019-07-01 16:18:56 +0200
committerraveit65 <[email protected]>2019-07-08 14:28:07 +0200
commit9a0031211ae0ac88053de91b429ecf3b8d6d2d17 (patch)
treefc592148504ba28d935bf4cb67734f17f0ddf540 /src
parentedb9b6f0a426686350e9ac9ea903507d358c1994 (diff)
downloadcaja-9a0031211ae0ac88053de91b429ecf3b8d6d2d17.tar.bz2
caja-9a0031211ae0ac88053de91b429ecf3b8d6d2d17.tar.xz
Add support for checking .ui accessibility with gla11y
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am12
-rw-r--r--src/ui-a11y.suppr35
2 files changed, 45 insertions, 2 deletions
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