ngx-image-zoom icon indicating copy to clipboard operation
ngx-image-zoom copied to clipboard

Require Alternative (Alt) attribute to images for screen readers

Open Chinmaya-Gandhi opened this issue 1 year ago • 1 comments

Request to kindly provide a option to pass an Alternative (Alt) attribute for the images that can be zoomed for better Digital Accessibility.

Current code is

<slide class="slide" *ngFor="let image of images">
			<div class="img-zoom">
				<lib-ngx-image-zoom
					[thumbImage]="image.src"
					[fullImage]="image.src"
					zoomMode="hover"
					[enableScrollZoom]="true"
					[enableLens]="true"
				></lib-ngx-image-zoom>
			</div>
		</slide>

And there is no way to pass image.altText

Chinmaya-Gandhi avatar Jan 23 '24 09:01 Chinmaya-Gandhi

believe there's one, altText and titleText, just check the readme

JomaKar avatar Apr 28 '24 18:04 JomaKar