gtk2/testsuite/a11y
Samuel Thibault bd986f9534 gtkbuilder: add accessibility role declaration
This allows to override the role declared to the atk stack.  For
instance,

<accessibility>
  <role type="static"/>
</accessibility>

allows to tell the accessibility stack that a label is just a message in
a message box.

Fixes #109
2018-03-19 18:07:06 +01:00
..
state a11y testsuite: Stop using gtk_widget_show_now 2018-02-04 23:23:15 +01:00
about.txt a11y tests: Update expected results 2017-07-19 15:46:32 -04:00
about.ui
accessibile-name.txt
accessibility-dump.c tests: Include system headers appropriately 2017-07-21 23:36:03 +08:00
accessible-name.txt Update expected output of a11y tests 2016-03-04 23:51:39 -05:00
accessible-name.ui
actionbar.txt Update a11y test output 2017-05-22 21:42:18 -04:00
actionbar.ui a11y tests: Add a test for GtkActionBar 2014-02-22 12:31:18 -05:00
assistant.txt Update some a11y tests 2017-10-11 20:09:21 -05:00
assistant.ui
buttons.txt Fix unittests 2016-10-18 00:34:41 +02:00
buttons.ui Fix unittests 2016-10-18 00:34:41 +02:00
calendar.txt Update expected output of a11y tests 2016-03-04 23:51:39 -05:00
calendar.ui
children.c testsuite: Remove GtkEventBox from a11y test 2017-08-02 16:47:39 +01:00
children.test.in Test suite cosmetics 2017-10-18 17:30:20 +02:00
colorchooser.txt Try again to make the a11y tests pass 2017-12-27 07:08:17 -05:00
colorchooser.ui GtkColorSwatch: Set an accessible role 2014-01-04 18:52:46 -05:00
combos.txt a11y tests: Update test results 2017-03-31 14:04:59 -04:00
combos.ui
derive.c Update callers 2017-01-19 13:50:17 -05:00
derive.test.in Test suite cosmetics 2017-10-18 17:30:20 +02:00
entries.txt Update some a11y tests 2017-10-11 20:09:21 -05:00
entries.ui Fix a few css/a11y test cases 2016-10-16 18:17:21 +02:00
expander.txt Update some a11y tests 2017-10-11 20:09:21 -05:00
expander.ui
headerbar.txt Update expected output of a11y tests 2016-03-04 23:51:39 -05:00
headerbar.ui Add GtkHeaderBar to the a11y tests 2013-06-30 22:33:12 -04:00
hello-world.txt Update expected output of a11y tests 2016-03-04 23:51:39 -05:00
hello-world.ui Fix unittests 2016-10-18 00:34:41 +02:00
iconview.txt Update expected output of a11y tests 2016-03-04 23:51:39 -05:00
iconview.ui
infobar.txt Fix unittests 2016-10-18 00:34:41 +02:00
infobar.ui
label-static.txt gtkbuilder: add accessibility role declaration 2018-03-19 18:07:06 +01:00
label-static.ui gtkbuilder: add accessibility role declaration 2018-03-19 18:07:06 +01:00
label.txt a11y tests: Update test results 2017-03-31 14:04:59 -04:00
label.ui a11y tests: Add a test for multi-link labels 2014-01-04 10:54:03 -05:00
link.txt Update expected output of a11y tests 2016-03-04 23:51:39 -05:00
link.ui Small improvement to GtkLinkButton a11y 2013-09-21 20:51:21 -04:00
listbox.txt Update expected output of a11y tests 2016-03-04 23:51:39 -05:00
listbox.ui Add a GtkListBoxRow accessible 2013-09-21 20:51:22 -04:00
lockbutton.txt Update expected output of a11y tests 2016-03-04 23:51:39 -05:00
lockbutton.ui
menu.txt Update some a11y tests 2017-10-11 20:09:21 -05:00
menu.ui Fix unittests 2016-10-18 00:34:41 +02:00
menubutton2.txt Update some a11y tests 2017-10-11 20:09:21 -05:00
menubutton2.ui a11y tests: Add a test for menubuttons with model 2014-02-22 12:31:19 -05:00
menubutton3.txt Update some a11y tests 2017-10-11 20:09:21 -05:00
menubutton3.ui a11y tests: Add a tests for menu buttons with popovers 2014-02-22 12:51:11 -05:00
menubutton.txt Update some a11y tests 2017-10-11 20:09:21 -05:00
menubutton.ui Fix unittests 2016-10-18 00:34:41 +02:00
menus.txt Update some a11y tests 2017-10-11 20:09:21 -05:00
menus.ui Fix unittests 2016-10-18 00:34:41 +02:00
meson.build tests: Make GSETTINGS_SCHEMA_DIR point to the compiled schemas in the build dir 2018-02-17 09:48:12 +01:00
messagedialog.txt Update expected output of a11y tests 2016-03-04 23:51:39 -05:00
messagedialog.ui
misc.c Add a test for popover accessible parents 2014-07-30 23:14:49 +02:00
misc.test.in Test suite cosmetics 2017-10-18 17:30:20 +02:00
mnemonic.txt a11y tests: Update test results 2017-03-31 14:04:59 -04:00
mnemonic.ui
notebook.txt Update expected output of a11y tests 2016-03-04 23:51:39 -05:00
notebook.ui Don't use stock APIs in the testsuite 2013-06-24 19:53:08 -04:00
paned.txt a11y tests: Update test results 2017-03-31 14:04:59 -04:00
paned.ui
pickers.txt Update a11y test output 2017-05-22 21:42:18 -04:00
pickers.ui
placeholder-text.txt Update expected output of a11y tests 2016-03-04 23:51:39 -05:00
placeholder-text.ui box: Remove fill child property 2017-04-25 20:30:37 +02:00
progress.txt Update expected output of a11y tests 2016-03-04 23:51:39 -05:00
progress.ui
range.txt Update some a11y tests 2017-10-11 20:09:21 -05:00
range.ui
README
scale-drawvalue.txt Update a11y test output 2016-03-05 10:40:06 -05:00
scale-drawvalue.ui
spinner.txt Update expected output of a11y tests 2016-03-04 23:51:39 -05:00
spinner.ui
stack.txt a11y tests: Update expected output 2016-06-01 14:18:46 -04:00
stack.ui Add GtkStack and GtkStackSwitcher to the a11y tests 2013-06-30 22:33:12 -04:00
statusbar.txt Update expected output of statusbar a11y test 2017-10-18 17:30:20 +02:00
statusbar.ui
testfocus.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
tests.test.in Test suite cosmetics 2017-10-18 17:30:20 +02:00
text.c Improve text a11y test 2015-10-15 22:35:38 -04:00
text.test.in Test suite cosmetics 2017-10-18 17:30:20 +02:00
text.txt a11y: Remove AtkStreamableContent implementation 2017-11-29 23:03:33 -05:00
text.ui
tooltips.txt Update a11y test output 2016-03-05 10:40:06 -05:00
tooltips.ui Implement support for ATK_STATE_HAS_TOOLTIP 2014-10-22 22:55:13 -04:00
tree-performance.c
tree-relationships.c Replace gdk_threads_add_idle* with g_idle_add() 2018-02-03 12:06:58 +01:00
tree.test.in Test suite cosmetics 2017-10-18 17:30:20 +02:00
tree.txt Update expected output of a11y tests 2016-03-04 23:51:39 -05:00
tree.ui Add some treeview a11y tests 2014-01-13 23:51:26 -05:00
util.c
util.test.in Test suite cosmetics 2017-10-18 17:30:20 +02:00
value.c Remove redundant checks for NULL 2014-10-02 19:06:03 +02:00
value.test.in Test suite cosmetics 2017-10-18 17:30:20 +02:00

accessibility-dump is a test runner that can do tests of static
accessibility information. Run it like this:

./accessibility-dump [OPTIONS] TESTFILE [TESTFILES...]

where TESTFILE is a GtkBuilder .ui file. accessibility-dump creates
a textual dump of the accessibility information for the created
widget hierarchy and compares it to a preexisting .txt file.

To create an initial dump, you can use the --generate option with
a single .ui file. You should carefully inspect the output before
blessing it as the official .txt to compare against.

To find out details about a failure, you can use the --verbose
option to see differences between expected and actual output.

When run without any arguments, all the .ui files in the current
directory are tested.