I'm working on a Cordova app (built with AngularJS and Ionic) and find Talkback works very well in general. However, I can't get it to associate a label with a text input and speak the label when the input gets focus through swipe gestures. I've tried the following markup strategies:
<label for="nickname">{{ strings.nicknameLabel }}</label>
<input id="nickname" type="text" name="nickname" ng-model="thing.nickname">
<label for="nickname">{{ strings.nicknameLabel }}</label>
<input id="nickname" aria-label="{{ strings.nicknameLabel }}" type="text" name="nickname" ng-model="thing.nickname">
<label id="nicknameLabel" for="nickname">{{ strings.nicknameLabel }}</label>
<input id="nickname" aria-labelledby="nicknameLabel" type="text" name="nickname" ng-model="thing.nickname">
So basically every trick in the book. Talkback reads the text of the label when I swipe and the label gets focus, but when the input gets focus it says something like "edit box " and the contents of the text input. I want Talkback to read out the label when the input gets focus, similar to what happens in Chrome.