1jQuery(document).ready(function( $ ){ 2 setTimeout(function() { 3 $('img').each(function() { 4 if (!$(this).attr('alt') || $(this).attr('alt').trim() === '') { 5 $(this).attr('alt', 'ÎÎ®Î¼Î¿Ï ÎÎ¯Î¿Ï -ÎλÏμÏÎ¿Ï '); 6 } 7 }); 8 }, 2000); 9 10 11}); 12 13jQuery(document).ready(function($){ 14 var skipLink = $('a.skip-link.screen-reader-text'); 15 16 if(skipLink.length){ 17 skipLink.css({ 18 'color': '#212121', // νÎο ÏÏÏμα κειμÎÎ½Î¿Ï 19 'background-color': '#ffffff', // νÎο background 20 'opacity': '1' // για να είναι οÏαÏÏ Î±Î½ ÏÏειαÏÏεί 21 }); 22 } 23}); 24 25jQuery(document).ready(function($) { 26 setTimeout(function() { 27 // Subtitle 28 $('.portfolio-three__sub-title').each(function() { 29 $(this).css({ 30 'background-color': 'rgba(30, 90, 122, 1)', // #1e5a7a 31 'padding': '2px 6px', 32 'border-radius': '3px' 33 }); 34 }); 35 36 // Title 37 $('.portfolio-three__title a').each(function() { 38 $(this).css({ 39 'background-color': 'rgba(30, 90, 122, 1)', // #1e5a7a 40 'padding': '2px 6px', 41 'border-radius': '3px' 42 }); 43 }); 44 }, 500); // μικÏÏ delay για να ÏοÏÏÏθεί η Ïελίδα 45}); 46 47 48 49 50document.addEventListener('DOMContentLoaded', function() { 51 const links = document.querySelectorAll('a'); 52 53 links.forEach(link => { 54 const text = link.textContent.trim(); 55 const hasImage = link.querySelector('img'); 56 57 if (text === '' && (!hasImage || !hasImage.alt)) { 58 const hiddenText = document.createElement('span'); 59 hiddenText.textContent = 'Link'; 60 // ÎÏίζει inline ÏÏÏ Î» ÏÏÏε Ïο Wave να Ïο âδιαβάÏειâ ÏÏÏÏά 61 hiddenText.setAttribute('style', ` 62 position: absolute; 63 left: -9999px; 64 top: auto; 65 width: 1px; 66 height: 1px; 67 overflow: hidden; 68 color: rgb(0, 0, 0); 69 background-color: rgb(255, 255, 255); 70 opacity: 1; 71 `); 72 link.appendChild(hiddenText); 73 } 74 }); 75}); 76 77 78 79 80 81 82jQuery(document).ready(function($){ 83 // ÎÏίÏÎºÎ¿Ï Î¼Îµ Ïλα Ïα ÎºÎ¿Ï Î¼Ïιά με role="presentation" ÏÎ¿Ï Î´ÎµÎ½ ÎÏÎ¿Ï Î½ text 84 $('button[role="presentation"]').each(function() { 85 if ($(this).text().trim() === '') { 86 // Îν είναι owl-prev ή owl-next, Î²Î¬Î¶Î¿Ï Î¼Îµ καÏάλληλο κείμενο 87 var text = ''; 88 if ($(this).hasClass('owl-prev')) { 89 text = 'Previous slide'; 90 } else if ($(this).hasClass('owl-next')) { 91 text = 'Next slide'; 92 } else { 93 text = 'Button'; 94 } 95 96 // Î ÏοÏθÎÏÎ¿Ï Î¼Îµ span με κλάÏη sr-only (κÏÏ ÏÏ Î±ÏÏ Ïο μάÏι) 97 $(this).append('<span class="sr-only">' + text + '</span>'); 98 } 99 }); 100}); 101 102 103 104 105jQuery(document).ready(function($){ 106 // Îια Ïλα Ïα ÎºÎ¿Ï Î¼Ïιά με role="presentation" 107 $('.owl-prev, .owl-next').each(function(){ 108 // Îν δεν ÎÏει ήδη κείμενο 109 if($(this).text().trim() === ''){ 110 if($(this).hasClass('owl-prev')){ 111 $(this).append('<span class="sr-only">Previous slide</span>'); 112 } 113 if($(this).hasClass('owl-next')){ 114 $(this).append('<span class="sr-only">Next slide</span>'); 115 } 116 } 117 }); 118}); 119 120jQuery(document).ready(function($){ 121 $('.owl-carousel').on('initialized.owl.carousel', function(){ 122 // Î ÏοÏθήκη aria-label ÏÏÏε να μην είναι "empty" 123 $('.owl-prev').attr('aria-label', 'Previous slide'); 124 $('.owl-next').attr('aria-label', 'Next slide'); 125 126 }); 127}); 128 129
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.