diff options
author | Balazs Varga <balazs.varga.extern@allotropia.de> | 2023-08-11 11:48:22 +0200 |
---|---|---|
committer | Balazs Varga <balazs.varga.extern@allotropia.de> | 2023-08-14 17:25:34 +0200 |
commit | 8d2ab36f41f8f11e9f5986bba6ebb5b95d7e1eef (patch) | |
tree | fdbe4fb270698bf1b62aa9f1c60ca67ba10f3fd3 /sw/source | |
parent | 13d51d47e8c7c8cca6d1271dfad42e0af982945f (diff) |
tdf#156620 - A11Y - fix not clickable warning about tables have headings
Make warning messages clickable and go to the problematic paragraph.
Change-Id: I5ca0b33b6f50b5d08993ebd0fc2749804e80de48
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155587
Tested-by: Jenkins
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/access/AccessibilityCheck.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sw/source/core/access/AccessibilityCheck.cxx b/sw/source/core/access/AccessibilityCheck.cxx index dddbb68bb966..eace70ef7cfc 100644 --- a/sw/source/core/access/AccessibilityCheck.cxx +++ b/sw/source/core/access/AccessibilityCheck.cxx @@ -1231,7 +1231,10 @@ public: if (parentTable) { m_bPrevPassed = false; - lclAddIssue(m_rIssueCollection, SwResId(STR_HEADING_IN_TABLE)); + auto pIssue = lclAddIssue(m_rIssueCollection, SwResId(STR_HEADING_IN_TABLE)); + pIssue->setIssueObject(IssueObject::TEXT); + pIssue->setDoc(pCurrent->GetDoc()); + pIssue->setNode(pCurrent); } } } |