Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add accessibility identifier to Apple Pay pre-page root view #1963

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

atmamont
Copy link
Contributor

@atmamont atmamont commented Jan 27, 2025

Summary

Our current system to build accessibility identifier in runtime doesn't really work nicely when root view
doesn't have an identifier.

PreApplePayView is an "orphan" view that is presented using abstract ADYViewController and doesn't have and shouldn't have any accessibility logic. It's up to a child view to decide and while we don't have many such cases, it seems to be one of them.

Before

<Adyen.PreApplePayView: 0x103374f00; frame = (0 0; 0 0); layer = <CALayer: 0x60000036b900>>.applePayButton

After

adyen.preApplePay.applePayButton

Ticket

COIOS-000

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request does not contain a valid label. Please add one of the following labels: ['new', 'changed', 'fixed', 'removed', 'deprecated', 'chore', 'improvement']

@atmamont atmamont added the chore a pull request that has chore changes that shouldn't be in the release notes label Jan 27, 2025
Copy link
Contributor

✅ No changes detected

Comparing add-accessibility-to-apple-pay-pre-page to develop


Analyzed targets: Adyen, AdyenActions, AdyenCard, AdyenCashAppPay, AdyenComponents, AdyenDelegatedAuthentication, AdyenDropIn, AdyenEncryption, AdyenSession, AdyenSwiftUI, AdyenTwint, AdyenWeChatPay

@atmamont atmamont merged commit b237573 into develop Jan 27, 2025
19 checks passed
@atmamont atmamont deleted the add-accessibility-to-apple-pay-pre-page branch January 27, 2025 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore a pull request that has chore changes that shouldn't be in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants