I implemented something that looks like this: if the user clicks on a div, the image changes in another div:
<div id="actionDiv" onClick="changePic();">Change Pic</div>
<div id="picHolder"></div>
Thus, this “Change Pic” text can be easily obtained with the mouse. How do I get focus from a tab key in an actionDiv text div for accessibility?
source
share