Commit cf207c97 authored by Hani Gerges's avatar Hani Gerges Committed by Rajab Natshah
Browse files

Issue #3264297 by hanii.gerges: Add title attribute to oEmbed iframe for accessibility

parent 41a3a8d6
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -78,9 +78,7 @@ class VarbaseOEmbedFormatter extends OEmbedFormatter {
      ];

      // Add title attribute to oEmbed iframe for accessibility.
      if (isset($media->name)
         && isset($media->name->value)
         && $media->name->value !== '') {
      if (!empty($media->name->value)) {
        $element[$delta]['#attributes']['title'] = $media->name->value;
      }