sw/source/core/access/AccessibilityCheck.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
New commits: commit f0619fddd49b56652f2fed9a2b56d21a2769e3b0 Author: Balazs Varga <balazs.varga.ext...@allotropia.de> AuthorDate: Thu Jun 8 12:34:37 2023 +0200 Commit: Balazs Varga <balazs.varga.ext...@allotropia.de> CommitDate: Thu Jun 8 22:17:19 2023 +0200 tdf#154951 - Accessibility checker fix missing alt text of grouped shapes Add grouped shapes objects to "Go to" and "Fix" functions. Change-Id: I4ebdbcadc775e700fe1da3a858e60658a88553db Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152709 Tested-by: Jenkins Reviewed-by: Balazs Varga <balazs.varga.ext...@allotropia.de> (cherry picked from commit 0b98ddee3612568ac640ad05b2d3d59f00d9ca2f) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152761 diff --git a/sw/source/core/access/AccessibilityCheck.cxx b/sw/source/core/access/AccessibilityCheck.cxx index 58e3fe50f4a9..250f1b45f901 100644 --- a/sw/source/core/access/AccessibilityCheck.cxx +++ b/sw/source/core/access/AccessibilityCheck.cxx @@ -1354,9 +1354,10 @@ void AccessibilityCheck::checkObject(SdrObject* pObject) && FindFrameFormat(pObject)->GetAnchor().GetAnchorId() != RndStdIds::FLY_AS_CHAR) lclAddIssue(m_aIssueCollection, SwResId(STR_FLOATING_TEXT)); - if (pObject->GetObjIdentifier() == SdrObjKind::CustomShape - || pObject->GetObjIdentifier() == SdrObjKind::Text - || pObject->GetObjIdentifier() == SdrObjKind::Media) + const SdrObjKind nObjId = pObject->GetObjIdentifier(); + + if (nObjId == SdrObjKind::CustomShape || nObjId == SdrObjKind::Text + || nObjId == SdrObjKind::Media || nObjId == SdrObjKind::Group) { OUString sAlternative = pObject->GetTitle(); if (sAlternative.isEmpty())