I use an upload template with a progress bar <span class='k-progress'></span>. How can I make it accessible for a screen reader?
I want to add aria-attributes like so <span class='k-progress' role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow=??? ></span>.
But the problem is, how to set aria-valuenow. How do I get the current upload percentage?