diff options
Diffstat (limited to 'bin/gla11y')
-rwxr-xr-x | bin/gla11y | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/gla11y b/bin/gla11y index 7376f672d866..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 @@ -1069,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: |