Skip to content

Commit

Permalink
Merge pull request #3641 from plentymarkets/feat/accessibility_images…
Browse files Browse the repository at this point in the history
…_widgets

feat: accessibility images widgets
  • Loading branch information
ivladu-plenty authored Feb 13, 2025
2 parents 70b27cf + 36f24c1 commit ecc1cb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions meta/documents/changelog_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- During registration process, enable the same set of countries as those available for the billing address.
- Added widget instead of datafields for manufacturer and eu responsible tabs.
- Accessibility improvements
- Removed title for accessibility for Image Carousel Widget.

### Geändert

Expand Down
7 changes: 2 additions & 5 deletions resources/views/Widgets/Common/ImageCarouselWidget.twig
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,12 @@
picture-class="img-cover"
image-url="{{ Twig.print("slide.imageUrl") }}"
fallback-url="{{ Twig.print("slide.fallbackImageUrl") }}"
alt="{{ Twig.print("altText") }}"
title="{{ Twig.print("imgTitle") }}">
alt="{{ Twig.print("altText") }}">
</lazy-img>
<noscript v-if="false">
<img src="{{ Twig.print("fallbackUrl") }}"
class="img-cover"
alt="{{ Twig.print("altText") }}"
title="{{ Twig.print("imgTitle") }}">
alt="{{ Twig.print("altText") }}">
</noscript>
{% else %}
<picture data-alt="{{ Twig.print("altText") }}">
Expand All @@ -180,7 +178,6 @@
class="img-cover"
src="{{ Twig.print("fallbackUrl") }}"
alt="{{ Twig.print("altText") }}"
title="{{ Twig.print("imgTitle") }}"
/>
</picture>
{% endif %}
Expand Down

0 comments on commit ecc1cb7

Please sign in to comment.