@total_onion/onion-library 2.0.11 → 2.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,7 +41,7 @@
41
41
  {% endif %}
42
42
  <span class="{{blockClassName}}__popup-trigger-icon">
43
43
  {# <img src="{{ get_image(options.theme_cta_icons[item.trigger_icon_type|ru]).src }}"> #}
44
- <img src="{{ options.cta_icons[item.trigger_icon_type|ru].src }}">
44
+ <img src="{{ options.cta_icons[item.trigger_icon_type|ru].src }}" alt="modal trigger icon">
45
45
 
46
46
 
47
47
  </span>
@@ -62,7 +62,7 @@
62
62
  {% set iconType = options.theme_cta_icons.cta_close_icon %}
63
63
  {% set iconImage = get_image(iconType) %}
64
64
  {% set isSVG = iconImage.post_mime_type == 'image/svg+xml' %}
65
- {{ isSVG ? get_raw_svg(iconImage.id) : '<img class="" src="' ~ iconImage.src ~ '">'}}
65
+ {{ isSVG ? get_raw_svg(iconImage.id) : '<img class="" src="' ~ iconImage.src ~ '" alt="close button">'}}
66
66
  </button>
67
67
  {% endif %}
68
68
  {% endif %}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@total_onion/onion-library",
3
- "version": "2.0.11",
3
+ "version": "2.0.12",
4
4
  "description": "Component library",
5
5
  "main": "index.js",
6
6
  "scripts": {