Hello, in the <image> tag in the hotspot widget, the alt text is missing, even if my image has an alt text in the media library.
The image HTML is hardcoded in your source code, and not generating dynamically using WP functions and this problem appears. I use Woodmart 7.2.4.
\XTS\Elementor\Image_Hotspot::render
if ( isset( $settings['image']['id'] ) && $settings['image']['id'] ) {
$image_url = woodmart_get_image_url( $settings['image']['id'], 'image', $settings );
$image_output = '<img class="wd-image-hotspot-img" src="' . esc_url( $image_url ) . '">';
} elseif ( isset( $settings['image']['url'] ) ) {
$image_output = '<img class="wd-image-hotspot-img" src="' . esc_url( $settings['image']['url'] ) . '">';
}
Could you please fix this? Alt text is important for many reasons.
Thank you
-
This topic was modified 1 year, 5 months ago by dimmisel.
-
This topic was modified 1 year, 5 months ago by dimmisel.