Make content of DIV tag readable by JAWS when tabbing
Hello,
I am working on accessibility projects using JAWS screen reader. I have encountered a situation where the content inside a div tag to be readable by JAWS. We are making focus to this div tag manually by assigning "0" to the attribute "tabindex". A peace of code is mentioned below.
<div id="statement" title="Statement" tabindex="0">Statement</div>
We have tried to keep an invisible image in the div tag, however, it is reading the image alt/title and "Graphic" at the end. Which is violating the requirement. It just has to read Statement when tab focus on the div element.
Can be the requirement be achievable by having any attribute to the div tag or using javascript.
Your advice is very much valuable and Thanks in advance.
Rohini Kumar J.