question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

<img alt="..." [...] />

See original GitHub issue

Hi, all!

I would like to have an img-altText for parallax-images…

function Parallax(element, options) {
  ...
  if (!this.altText) {
    $.extend(this, {altText: 'parallax background-image'});
  }
  ...
  this.$slider[0].alt = this.altText;
}

Thanks, Roman

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:13

github_iconTop GitHub Comments

1reaction
Giovanni-Mattuccicommented, Jan 22, 2017

+1 This is an accessibility issue, easily fixed with adding an empty alt="" tag at least. Giving an option to set an alt task would be good.

0reactions
adarshsrivcommented, Sep 30, 2022

I tried Applying the changes mentioned https://github.com/pixelcog/parallax.js/issues/155#issuecomment-339386078

The parallax is not working properly the images are not moving upward/downwards.

Any help?

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML img alt Attribute - W3Schools
The alt attribute provides alternative information for an image if a user for some reason cannot view it (because of slow connection, an...
Read more >
<img>: The Image Embed element - HTML - MDN Web Docs
The alt attribute holds a text description of the image, which isn't mandatory but is incredibly useful for accessibility — screen readers ...
Read more >
HTML Img Alt Tags For SEO Best Practice - Search Engines ...
The alt attribute provides an “alternative description” for the image. This description is normally not presented to the user, but will be under...
Read more >
Image ALT Tag Tips for HTML - Penn State | Accessibility
The ALT text adds a text description to an image on a Web page, and should be used for all images ... Implement...
Read more >
Image Alt Text: What It Is, How to Write It, and Why It Matters to ...
Also called alt tags and alt descriptions, alt text is the written copy that appears in place of an image on a webpage...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found