Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessibility of carousel images #143

Open
aferreira-deo opened this issue Aug 18, 2022 · 0 comments
Open

Accessibility of carousel images #143

aferreira-deo opened this issue Aug 18, 2022 · 0 comments

Comments

@aferreira-deo
Copy link

aferreira-deo commented Aug 18, 2022

Hello ivylaboratory team, it seems there is an accessibility issue for the images when you need to use a screen reader. In order for the images to have some description for screen readers to comply with (WCAG rule 1.1.1) the images need to have an alt attribute that can be configured to either describe the picture or have an empty string in case the image is not meaningful and it should be omitted from the screen reader elements.

Would it be possible to extend the Image and Images interfaces with an alt attribute, you could put it as optional if you don't want a breaking change. Also if the attribute is empty you could default to empty string '' so the screen reader ignores the image.

I understand we can have control when we use content projection, but when we just pass the [images] input we are unable to provide alt attributes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant