diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-03-08 12:36:01 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-03-08 17:01:26 +0100 |
commit | c9efbdbfaf110c18576b7294b72cd03dad310720 (patch) | |
tree | 7be889e15ad8e2af80e10689068de5bf36616846 /bin | |
parent | 2c3779475299eeed6fd9836c03aa22e1b3a41e88 (diff) |
replace member-of in .ui a11y relations
Change-Id: I454c945c5ce17bcc1834923064014b43a0b45be7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131186
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'bin')
-rw-r--r-- | bin/find-can-be-private-symbols.functions.results | 1 | ||||
-rwxr-xr-x | bin/gla11y | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/find-can-be-private-symbols.functions.results b/bin/find-can-be-private-symbols.functions.results index 137b54d7a903..82e5f0c55912 100644 --- a/bin/find-can-be-private-symbols.functions.results +++ b/bin/find-can-be-private-symbols.functions.results @@ -23185,7 +23185,6 @@ vcl::Window::SaveFocus() vcl::Window::SetAccessibleDescription(rtl::OUString const&) vcl::Window::SetAccessibleRelationLabelFor(vcl::Window*) vcl::Window::SetAccessibleRelationLabeledBy(vcl::Window*) -vcl::Window::SetAccessibleRelationMemberOf(vcl::Window*) vcl::Window::SetActivateMode(ActivateModeFlags) vcl::Window::SetDumpAsPropertyTreeHdl(Link<tools::JsonWriter&, void> const&) vcl::Window::SetFakeFocus(bool) diff --git a/bin/gla11y b/bin/gla11y index 7376f672d866..c3ae7be67604 100755 --- a/bin/gla11y +++ b/bin/gla11y @@ -1069,8 +1069,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: |