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

Add alt attribute? #293

Open
DEQWeb opened this issue May 6, 2020 · 3 comments
Open

Add alt attribute? #293

DEQWeb opened this issue May 6, 2020 · 3 comments

Comments

@DEQWeb
Copy link

DEQWeb commented May 6, 2020

It would be nice if I could give it an alt attribute to pass accessibility testing.

@mdmpweb
Copy link

mdmpweb commented Nov 13, 2020

Hola.
Necesito poner por temas de accesibilidad el alt a la img
¿Lo has podido solucionar?

@marklloyd
Copy link

You can easily add a static alt attribute to the parallax image.

Search the js file for
this.$slider.addClass("parallax-slider").one(

An add the jquery to add an alt attribute. eg:
this.$slider.addClass("parallax-slider").attr('alt', 'parallax image').one(

The above example adds an alt attribute of "parallax image".

@angelayanpan
Copy link

@DEQWeb agreed. would be nice to add it without editing the js file

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

4 participants