sw/source/core/access/AccessibilityCheck.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit 8d2ab36f41f8f11e9f5986bba6ebb5b95d7e1eef Author: Balazs Varga <balazs.varga.ext...@allotropia.de> AuthorDate: Fri Aug 11 11:48:22 2023 +0200 Commit: Balazs Varga <balazs.varga.ext...@allotropia.de> CommitDate: Mon Aug 14 17:25:34 2023 +0200 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.ext...@allotropia.de> 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); } } }