summaryrefslogtreecommitdiff
path: root/plugins/sort
diff options
context:
space:
mode:
authorSamuel Thibault <[email protected]>2019-07-01 17:10:44 +0200
committerraveit65 <[email protected]>2019-07-08 15:11:17 +0200
commit45145244b6dd9dc11b6d9a6daf4e442cef9457fa (patch)
tree7a177dc7e47804d72766a6b852ab34c9523ee8e5 /plugins/sort
parentdb655f3fb2f67b695d36369e584fcb598e0e1bea (diff)
downloadpluma-45145244b6dd9dc11b6d9a6daf4e442cef9457fa.tar.bz2
pluma-45145244b6dd9dc11b6d9a6daf4e442cef9457fa.tar.xz
Add support for checking .ui accessibility with gla11y
Diffstat (limited to 'plugins/sort')
-rw-r--r--plugins/sort/Makefile.am6
-rw-r--r--plugins/sort/ui-a11y.suppr2
2 files changed, 6 insertions, 2 deletions
diff --git a/plugins/sort/Makefile.am b/plugins/sort/Makefile.am
index 1738a50c..a442c645 100644
--- a/plugins/sort/Makefile.am
+++ b/plugins/sort/Makefile.am
@@ -16,7 +16,9 @@ libsort_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
libsort_la_LIBADD = $(PLUMA_LIBS)
uidir = $(PLUMA_PLUGINS_DATA_DIR)/sort
-ui_DATA = sort.ui
+ui_files = sort.ui
+include $(top_srcdir)/gla11y.mk
+ui_DATA = $(ui_files)
plugin_in_files = sort.plugin.desktop.in
@@ -24,7 +26,7 @@ plugin_in_files = sort.plugin.desktop.in
plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin)
-EXTRA_DIST = $(ui_DATA) $(plugin_in_files)
+EXTRA_DIST = $(ui_DATA) $(plugin_in_files) ui-a11y.suppr
CLEANFILES = $(plugin_DATA)
DISTCLEANFILES = $(plugin_DATA)
diff --git a/plugins/sort/ui-a11y.suppr b/plugins/sort/ui-a11y.suppr
new file mode 100644
index 00000000..8753f966
--- /dev/null
+++ b/plugins/sort/ui-a11y.suppr
@@ -0,0 +1,2 @@
+sort.ui://GtkImage[@id='image7'] no-labelled-by
+sort.ui://GtkLabel[@id='label17'] orphan-label