diff options
Diffstat (limited to 'bin/gla11y')
-rwxr-xr-x | bin/gla11y | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/bin/gla11y b/bin/gla11y index 01c339696cf1..1f4bea984a88 100755 --- a/bin/gla11y +++ b/bin/gla11y @@ -26,6 +26,10 @@ # Take LibreOffice (glade) .ui files and check for non accessible widgets +# A white paper documents the rationale of the implementation: +# +# https://inria.hal.science/hal-02957129 + from __future__ import print_function import os @@ -85,12 +89,10 @@ widgets_ignored = widgets_toplevel + [ 'GtkExpander', 'GtkViewport', 'GtkScrolledWindow', - 'GtkAlignment', 'GtkRevealer', 'GtkSearchBar', 'GtkHeaderBar', 'GtkStack', - 'GtkStackSwticher', 'GtkPopover', 'GtkPopoverMenu', 'GtkActionBar', @@ -1071,8 +1073,9 @@ def check_a11y_relation(filename, tree): if len(mnemonic_for_elm[oid]) > 1: warn(filename, tree, obj, "duplicate-mnemonic", "is referenced by multiple mnemonic_widget " + elms_names_lines(mnemonic_for_elm[oid])) - # Check member-of - member_of = check_rels(filename, tree, root, obj, "member-of") + # Check controlled-by/controller-for + controlled_by = check_rels(filename, tree, root, obj, "controlled-by", "controller-for") + controller_for = check_rels(filename, tree, root, obj, "controlled-for", "controlled-by") # Labels special case if klass in widgets_labels: |