Fixed in https://github.com/badbundle/vault-app/pull/642 (merged as d61993c3).
Labels added:
- Every
LabeledTextFieldinput, whether plain, secure (masked or shown) or multiline, now uses its title as its accessibility label. Hints stay as they were. The multiline editor's label moved to the same place. - Recovery phrase word fields are named "Word 1" to "Word 24".
.secretTextInputis unchanged.
Tests:
- Checked every variant with the accessibility tree in the simulator. Key, Site Name, Account Name (with its hint), Description, Passphrase (masked and shown) and the word fields all read their names.
- A new unit test covers the word names.
- There's no hosted UI test. SwiftUI only attaches text-field labels when the system's accessibility bundles are loaded, which they aren't in the test process.
Still worth checking on a device: that VoiceOver skips the floating label and word numbers, which are marked hidden. The simulator's accessibility tree still lists them.