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

Alt for img is added to link #67

Open
jcubic opened this issue May 21, 2016 · 2 comments
Open

Alt for img is added to link #67

jcubic opened this issue May 21, 2016 · 2 comments

Comments

@jcubic
Copy link
Contributor

jcubic commented May 21, 2016

I have html like this:

<header>
    <img src="/img/background.jpg" alt="Computer Keyboard - Głównie JavaScript"/>
    <h1><a href="/">Głównie JavaScript</a></h1>

which is converted to:

[http://jcubic.plComputer Keyboard - Głównie JavaScript] 
@YuraKril
Copy link

YuraKril commented Nov 1, 2018

I have html like this:
<div class=\"container\"><img src=\"https://downloads.test.com/i/o/image.png\"></div>
which is converted to empty string
possible output:
[https://downloads.test.com/i/o/image.png]

@jcubic
Copy link
Contributor Author

jcubic commented Nov 1, 2018

@YuraKril I think this one is valid because output it not showing image src but alt tag, just like in screen reader. My issue is different because it don't put space between link and text. If you think that it should show url of the image, which I think is useless the same as for screen reader, you should report another issue.

But I don't think that you have any chance of implementation this in this repo, unless you fork it and do this yourself. This issue was posted in 2016 with not response.

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

2 participants