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

Added support for alternative texts from img and input type=image #34

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

King2500
Copy link

Solves #5

Supports texts from img and input[type=image] alt-attributes.

Included a test case.
All tests ran locally without errors.

@King2500 King2500 changed the title Added support for alternativ texts from img and input type=image Added support for alternative texts from img and input type=image Jul 15, 2016
if (element.getAttribute('alt')) {
alternatives += element.getAttribute('alt');
}
return alternatives;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just return it, with || ''?

@dominykas
Copy link
Member

Thanks, this is awesome!

I'll go try to revive my work on upgrading to latest nodes, which I forgot all about :)

@dominykas
Copy link
Member

If you update with master, the modern nodes will be used on Travis. Might still get a failure on saucelabs, but we can try to deal with it if it does happen.

@King2500
Copy link
Author

Done so far.

@King2500
Copy link
Author

ping @dominykas

Any time for review?

@dominykas
Copy link
Member

Sorry, important deadlineand holidays got in the way. Will get back to normal life next week.

@King2500
Copy link
Author

@dominykas
How you're doing?
Just a reminder ;-)

@King2500
Copy link
Author

@dominykas
Do you have any time for reviewing this? It's been almost a year since my pull-request.
Thanks!

@King2500
Copy link
Author

King2500 commented Nov 7, 2017

Is this project still maintained?

Anything I can help to get this released...?

@King2500
Copy link
Author

@dominykas Any chance for release of this fix? Or do you see any issue with this?

traynor added a commit to traynor/h5o-js that referenced this pull request May 24, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants