I'm writing some Accessibility code into my application. The problem is that when I have a number (ex: 21) printed in a div for the screenreader to read:
<div id="screenReaderBox" aria-show=true tabindex=0> I have 21 cookies</div>
The Screen Reader reads the div in the following manner: "I have two one cookies" opposed to "I have twenty-one cookies."
How can I modify the div for the screen reader to pick up the html content right way? Would there be any workaround solution?
I have tried parseInt(); same result