GLA11Y(1) - General Commands Manual
gla11y - check accessibility of glade widgets
gla11y [-pW] [-i widgets] [-l log [-a]] [file ...]
The gla11y utility check if file respect glade accessibility rules. It prints messages for every error it encounters.
The options are as follows:
-a
Append messages to log instead of printing them to stdout. This option has no effect unless -l is specified.
-i widgets
Do not check elements whose class is listed in widgets. By default the following widgets are ignored: GtkBox, GtkVBox.
-I
Do not ignore any widget.
-l log
Do not print messages already present in log. This option implies -p.
-p
Print class paths instead of line numbers in messages.
-W
Make all warnings into errors.
The gla11y utility exits 0 on success, and >0 if an error occurs.
To check all the widgets but GtkLabel and AtkObject in the file sortdialog.ui:
gla11y -i GtkLabel,AtkObject sortdialog.ui
To check if new errors have been introduced in sortdialog.ui since the generation of error.log:
gla11y -l error.log sortdialog.ui