Explorar o código

only allow text in aria status div

Hakim El Hattab %!s(int64=10) %!d(string=hai) anos
pai
achega
e4761d3a37
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      js/reveal.js

+ 1 - 1
js/reveal.js

@@ -1918,7 +1918,7 @@
 		}
 
 		// Announce the current slide contents, for screen readers
-		dom.statusDiv.innerHTML = currentSlide.textContent;
+		dom.statusDiv.textContent = currentSlide.textContent;
 
 		updateControls();
 		updateProgress();