document.addEventListener("DOMContentLoaded", function() {
// 1. Διόρθωση Alt Text στην εικόνα ΕΣΠΑ
var espaImg = document.querySelector('.wp-image-341');
if (espaImg) {
espaImg.setAttribute('alt', 'Λογότυπο ΕΣΠΑ - Πρόγραμμα Περιφέρειας Πελοποννήσου');
}
// 2. Διόρθωση Low Contrast στο ENTER
var enterElements = document.querySelectorAll('.enter-symbol, [data-i18n-key="enter"]');
enterElements.forEach(function(el) {
el.style.color = '#ffffff';
});
});
If you are using the jQuery library, then don't forget to wrap your code inside jQuery.ready() as follows:
jQuery(document).ready(function( $ ){
// Your code in here
});
--
If you want to link a JavaScript file that resides on another server (similar to
), then please use
the "Add HTML Code" page, as this is a HTML code that links a JavaScript file.
End of comment */