sw/source/core/access/AccessibilityCheck.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit 95db490b23ce10cc220bc7e09a3e6d213bd7a7fd Author: Balazs Varga <balazs.varga.ext...@allotropia.de> AuthorDate: Fri Aug 11 11:48:22 2023 +0200 Commit: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> CommitDate: Tue Aug 15 08:20:32 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> (cherry picked from commit 8d2ab36f41f8f11e9f5986bba6ebb5b95d7e1eef) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155690 Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de> diff --git a/sw/source/core/access/AccessibilityCheck.cxx b/sw/source/core/access/AccessibilityCheck.cxx index 462205fc65d6..f18cb81a8d8e 100644 --- a/sw/source/core/access/AccessibilityCheck.cxx +++ b/sw/source/core/access/AccessibilityCheck.cxx @@ -1219,7 +1219,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); } } }