[Libreoffice-commits] core.git: bin/gla11y

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Oct 4 16:28:25 UTC 2018


 bin/gla11y |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5b41a01d7409fe7ba939ff952caa5a90f9b81772
Author:     Samuel Thibault <samuel.thibault at ens-lyon.org>
AuthorDate: Wed Oct 3 14:44:24 2018 +0200
Commit:     Jan-Marek Glogowski <glogow at fbihome.de>
CommitDate: Thu Oct 4 18:27:59 2018 +0200

    gla11y: better print paired element for visibility conflict
    
    Change-Id: I1f3bcaf732d01c5def7b84ecbd14e0cbe3397927
    Reviewed-on: https://gerrit.libreoffice.org/61300
    Tested-by: Jenkins
    Reviewed-by: Jan-Marek Glogowski <glogow at fbihome.de>

diff --git a/bin/gla11y b/bin/gla11y
index b09d259a8a87..3d132753986d 100755
--- a/bin/gla11y
+++ b/bin/gla11y
@@ -995,7 +995,7 @@ def check_a11y_relation(filename, tree):
             elif len(label_for_elm[oid]) == 1:
                 paired = label_for_elm[oid][0]
                 if visible != is_visible(paired):
-                    warn(filename, tree, obj, "visibility-conflict", "visibility conflicts with paired " + paired.attrib.get('id'))
+                    warn(filename, tree, obj, "visibility-conflict", "visibility conflicts with paired " + elm_name_line(paired))
         if oid in mnemonic_for_elm:
             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]))


More information about the Libreoffice-commits mailing list