Parcourir la source

only allow text in aria status div

Hakim El Hattab il y a 10 ans
Parent
commit
e4761d3a37
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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();