I am a dojo fresher, Here is a mobile application which developed by Dojo Mobile.
and I found it can't work when I open the ios VoiceOver.
the data-dojo-type="dojox/mobile/ScrollableView" component can't scroll any more.
I checked the dojo website and found the solution(https://dojotoolkit.org/reference-guide/1.10/dojox/mobile/faq.html):
How do I develop applications which support iOS VoiceOver?
to set the alt, title and role attributes. VoiceOver will read widgets with these attributes set. See tests/test_a11y.html for examples. However, the value of a SpinWheel can not be read by VoiceOver in 1.8.Make sure
follow the guide I visited the page tests/test_a11y.html(https://github.com/dojo/dojox/blob/master/mobile/tests/test_a11y.html) and I do find the code include the alt,title,role attributes:
Here is the question: what's the meaning of these three attributes,can I add the attributes to every Dojo components in my code?and how to decide the value of these attributes?
and I found from the tests/test_a11y.html that some dojo components include just role attribute but some others include all the three.it makes me very confusing...:
here is My code ,how to reform it:
<div data-dojo-type="dojox/mobile/ContentPane" id="ReceiptsAttach" class="receipts">
<div id="receiptsAttachContent" data-dojo-attach-point="dataContent" data-dojo-type="dojox/mobile/ScrollableView" class="selectContent"></div>
<div style="clear:both;"></div>
</div></div>