diff options
author | Balazs Varga <balazs.varga.extern@allotropia.de> | 2023-06-08 12:34:37 +0200 |
---|---|---|
committer | Balazs Varga <balazs.varga.extern@allotropia.de> | 2023-06-08 17:07:26 +0200 |
commit | 0b98ddee3612568ac640ad05b2d3d59f00d9ca2f (patch) | |
tree | 8f29782ea3b5104f3d5e42f3c29800afc4ad8a3e | |
parent | b1d1a424a4d291873101f5d2348e5bd9cb9091a4 (diff) |
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.extern@allotropia.de>
-rw-r--r-- | sw/source/core/access/AccessibilityCheck.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
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()) |