Skip to content

Commit

Permalink
Added missing alt attributes for images
Browse files Browse the repository at this point in the history
  • Loading branch information
ausi committed Nov 6, 2014
1 parent 0a0b07c commit 3f80c3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/rsts_default.html5
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<?php if (! empty($slide['videoURL'])): ?>

<div data-rsts-type="video" data-rsts-video="<?php echo $slide['videoURL'] ?>" <?php echo $attributes ?>>
<img src="<?php echo $slide['image']->src ?>" <?php echo $imageAttributes ?>>
<img src="<?php echo $slide['image']->src ?>" alt="<?php echo $slide['image']->alt ?>" <?php echo $imageAttributes ?>>

<?php elseif (! empty($slide['image'])): ?>

Expand Down
2 changes: 1 addition & 1 deletion templates/rsts_default.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<?php if (! empty($slide['videoURL'])): ?>

<div data-rsts-type="video" data-rsts-video="<?php echo $slide['videoURL'] ?>" <?php echo $attributes ?>>
<img src="<?php echo $slide['image']->src ?>" <?php echo $imageAttributes ?> />
<img src="<?php echo $slide['image']->src ?>" alt="<?php echo $slide['image']->alt ?>" <?php echo $imageAttributes ?> />

<?php elseif (! empty($slide['image'])): ?>

Expand Down

0 comments on commit 3f80c3d

Please sign in to comment.