summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBalazs Varga <balazs.varga.extern@allotropia.de>2023-06-27 13:35:14 +0200
committerSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2023-06-29 08:16:50 +0200
commitd17603b9ad8b82d98eb2bca0ec4dd9bac02b7766 (patch)
tree14bfc17339d864aa30b3a2f690e63b9a1c1c643f
parent125b0f6609332523d30bef600979b698c2d216f8 (diff)
tdf#156023 - A11Y: Add visual hints when fixing an accessibility check issue
Go to the issue object and select it, before fixing the issue. Change-Id: I0217922c91045c288df7e48965be259e4d4f7ac0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153642 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
-rw-r--r--sw/source/core/access/AccessibilityIssue.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/core/access/AccessibilityIssue.cxx b/sw/source/core/access/AccessibilityIssue.cxx
index d0366b1ef3e2..c7332f919cf5 100644
--- a/sw/source/core/access/AccessibilityIssue.cxx
+++ b/sw/source/core/access/AccessibilityIssue.cxx
@@ -131,6 +131,9 @@ void AccessibilityIssue::quickFixIssue() const
if (!m_pDoc)
return;
+ if (m_eIssueObject != IssueObject::UNKNOWN)
+ gotoIssue();
+
switch (m_eIssueObject)
{
case IssueObject::GRAPHIC: