diff --git a/resources/assets/js/components/presenter/PhotoAlbumPresenter.vue b/resources/assets/js/components/presenter/PhotoAlbumPresenter.vue
index 8628778f2..93c481bf6 100644
--- a/resources/assets/js/components/presenter/PhotoAlbumPresenter.vue
+++ b/resources/assets/js/components/presenter/PhotoAlbumPresenter.vue
@@ -7,7 +7,7 @@
-
+
@@ -15,7 +15,7 @@
-
+
@@ -52,6 +52,15 @@
this.$refs.carousel.goToPage(0);
},
+ altText(img) {
+ let desc = img.description;
+ if(desc) {
+ return desc;
+ }
+
+ return 'Photo was not tagged with any alt text.';
+ },
+
keypressNavigation(e) {
let ref = this.$refs.carousel;
if (e.keyCode == "37") {
diff --git a/resources/assets/js/components/presenter/PhotoPresenter.vue b/resources/assets/js/components/presenter/PhotoPresenter.vue
index ac045b99d..cd80b5f97 100644
--- a/resources/assets/js/components/presenter/PhotoPresenter.vue
+++ b/resources/assets/js/components/presenter/PhotoPresenter.vue
@@ -6,13 +6,13 @@
(click to show)
-
+
-
+
@@ -26,6 +26,17 @@
\ No newline at end of file