Эх сурвалжийг харах

only allow text in aria status div

Hakim El Hattab 10 жил өмнө
parent
commit
e4761d3a37
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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();