function setAriaCurrent() {
	var id = document.getElementById("inicio");
	id.innerText(document.title)
}

setAriaCurrent();

function setAriaCurrent() {
	var id = document.getElementById("inicio");
	id.textContent = document.title
}

setAriaCurrent();

Use textContent to get title
Use textContent to get title
