summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/blogs/HubView.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-07-12 18:59:23 +0200
committerJules Laplace <julescarbon@gmail.com>2019-07-12 18:59:23 +0200
commit90a550943188af41dfe8e82ddc386f56436c5a7e (patch)
treedb2bcea0ed446a3b16cda9e8b5642e9ba2f96870 /StoneIsland/www/js/lib/blogs/HubView.js
parentde4c08d90cfeb96c416791e8210cfdba8c7aba44 (diff)
more ARIA tags. make headers 48px
Diffstat (limited to 'StoneIsland/www/js/lib/blogs/HubView.js')
-rwxr-xr-xStoneIsland/www/js/lib/blogs/HubView.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/StoneIsland/www/js/lib/blogs/HubView.js b/StoneIsland/www/js/lib/blogs/HubView.js
index b072a887..c12e656f 100755
--- a/StoneIsland/www/js/lib/blogs/HubView.js
+++ b/StoneIsland/www/js/lib/blogs/HubView.js
@@ -71,6 +71,7 @@ var HubView = ScrollableView.extend({
row.image.forEach(function(img){
var el = document.createElement("div")
el.style.backgroundImage = "url(" + img.uri + ")"
+ el.setAttribute('aria-label', img.caption)
el.className = "item"
$gallery.append(el)
})