Skip to content

Add alt attribute to the gallery image#120

Merged
feimosi merged 2 commits intodevfrom
feature/95-alt-attribute
Jul 23, 2016
Merged

Add alt attribute to the gallery image#120
feimosi merged 2 commits intodevfrom
feature/95-alt-attribute

Conversation

@feimosi
Copy link
Copy Markdown
Owner

@feimosi feimosi commented Jul 23, 2016

Resolves #96

@feimosi
Copy link
Copy Markdown
Owner Author

feimosi commented Jul 23, 2016

@XhmikosR I'd appreciate if you could take a look and approve this PR :)
The solution is on the first commit.

@feimosi feimosi force-pushed the feature/95-alt-attribute branch from 5b56626 to d7b6fd4 Compare July 23, 2016 11:14
Comment thread src/baguetteBox.js Outdated
var image = create('img');
var figcaption = create('figcaption');

// Prepare figure and figcaption elements
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

"and figcaption elements" belongs to line 504 now I believe.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Right, I've removed this unnecessary keyword

@feimosi feimosi force-pushed the feature/95-alt-attribute branch from d7b6fd4 to c244460 Compare July 23, 2016 11:21
@XhmikosR
Copy link
Copy Markdown
Contributor

Looks good to me sans the refactoring patch which I assume you tested :)

@feimosi
Copy link
Copy Markdown
Owner Author

feimosi commented Jul 23, 2016

I wouldn't publish untested code :) Just wanted to make sure, we were thinking about the alt in the same way.

@XhmikosR
Copy link
Copy Markdown
Contributor

I know, better be safe than sorry :D

@feimosi feimosi merged commit 031ad79 into dev Jul 23, 2016
@feimosi feimosi deleted the feature/95-alt-attribute branch July 23, 2016 11:43
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.

2 participants