Skip to content

Commit

Permalink
Merge pull request #1226 from psu-stewardship/alt_text_thumbnail
Browse files Browse the repository at this point in the history
Making the image thumbnail alt tag empty for better accessibility, …
  • Loading branch information
carolyncole committed Jul 2, 2015
2 parents e81d391 + 42d21fe commit 035de57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/helpers/sufia/sufia_helper_behavior.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def sufia_thumbnail_tag(document, options)
else
"default.png"
end
options[:alt] = " "
image_tag path, options
end
end
Expand Down

0 comments on commit 035de57

Please sign in to comment.