sw/source/core/access/AccessibilityCheck.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 5aefe9d1cb72f94cd6999a489860270f8432a637
Author:     Balazs Varga <balazs.varga.ext...@allotropia.de>
AuthorDate: Wed Jun 7 10:16:28 2023 +0200
Commit:     Samuel Mehrbrodt <samuel.mehrbr...@allotropia.de>
CommitDate: Thu Jun 8 08:11:01 2023 +0200

    tdf#154932 - A11Y sidebar: fix warning about missing media object 
description
    
    Add media graphic object to "Go to" and "Fix" functions.
    
    Change-Id: I796ce53605e5d8d10558494a87b987443ad918ba
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152695
    Tested-by: Jenkins
    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 1766052b5d44..58e3fe50f4a9 100644
--- a/sw/source/core/access/AccessibilityCheck.cxx
+++ b/sw/source/core/access/AccessibilityCheck.cxx
@@ -1355,7 +1355,8 @@ void AccessibilityCheck::checkObject(SdrObject* pObject)
         lclAddIssue(m_aIssueCollection, SwResId(STR_FLOATING_TEXT));
 
     if (pObject->GetObjIdentifier() == SdrObjKind::CustomShape
-        || pObject->GetObjIdentifier() == SdrObjKind::Text)
+        || pObject->GetObjIdentifier() == SdrObjKind::Text
+        || pObject->GetObjIdentifier() == SdrObjKind::Media)
     {
         OUString sAlternative = pObject->GetTitle();
         if (sAlternative.isEmpty())

Reply via email to