diff --git a/js/gallery.js b/js/gallery.js index ff9ae9e..edfd848 100644 --- a/js/gallery.js +++ b/js/gallery.js @@ -53,6 +53,7 @@ const setGallery = (media) => { }), elmtFactory('span', { tabindex: '-1', + id: 'content-reader', class: 'visually-hidden', }, `${media.likes}` + ' likes' diff --git a/js/pro_page.js b/js/pro_page.js index 4f41bf6..d1210e4 100644 --- a/js/pro_page.js +++ b/js/pro_page.js @@ -155,6 +155,7 @@ fetch('FishEyeData.json') setAttributes(input, { id: 'likes' + i, }); + input.setAttribute('aria-describedby', 'content-reader') } // ----- footer section ----- //