Adyen / adyen-3ds2-ios

Other
18 stars 12 forks source link

[BUG] OTP field doesn't pronounce correct trait #40

Open shayan77 opened 5 months ago

shayan77 commented 5 months ago

Describe the bug In our recent A11y report, there was an issue regarding the Ayen OTP field which indicated when the user focuses on the field or while editing, the Voice Over read field just as a Text Field which should also indicate this is an OTP field.

To Reproduce Steps to reproduce the behavior:

  1. Start with any kind of payments that require OTP
  2. Enable accessibility voice over
  3. Navigate to the OTP field

Expected behavior Voice Over should indicate the purpose of the field, it means it should read the name of the Field which is (One Time Password)

Screenshots

Screenshot 2024-05-02 at 10 52 12
robertdalmeida commented 5 months ago

Thanks for submitting this issue. This is a bug with the 3ds2sdk. We will add an accessibility label for the text field, though the sdk wouldn't know if it is the OTP or any other information that is requested by the issuer. So the read out will be a bit generic like "Text input".