You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, using Modal.prompt() triggers an Accessibility warning when submitting to the Android Google Play Store, because the android:id/custom/EditText[0] item doesn't have a screen-readable label.
Platform Support Requested
Android
iOS
Electron
Web
Describe Preferred Solution
Add an inputLabel property to Modal PromptOptions, and implement this label in the Modal prompt.
Related Code
let promptRet = await Modals.prompt({
title: 'Title',
message: "Message"
});
Closing since there was no response, I think using inputPlaceholder should be enough to get rid of the warning.
But as I said, it should be a placeholder and not text, but I reported that already and will use that issue to fix it.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Feature Request
Describe the Feature Request
Currently, using Modal.prompt() triggers an Accessibility warning when submitting to the Android Google Play Store, because the android:id/custom/EditText[0] item doesn't have a screen-readable label.
Platform Support Requested
Describe Preferred Solution
Add an inputLabel property to Modal PromptOptions, and implement this label in the Modal prompt.
Related Code
Additional Context
From Google's Pre-Launch Report:
"This item may not have a label readable by screen readers."
https://support.google.com/accessibility/android/answer/7158690
Tested on:
Moto G4 Play
Android 6.0
English (United States)
720 × 1280
320
The text was updated successfully, but these errors were encountered: