Jan Jaap de Groot

Results 18 comments of Jan Jaap de Groot

@answer-huang this only works for iOS simulators. For iOS 17+ we now have `devicectl`, but the app icon command seems to be broken: https://developer.apple.com/forums/thread/738793

@answer-huang yeah devicectl works fine, just the app icon command was broken before macOS 14.x - but works now.

I have also tried creating `.heic` screenshots, this results in the same issue. Xcode results ``` /private/var/folders/wf/zyzjsh9532l7g_p54x97_hlm0000gn/T/IDEResultCache-855BCFEB-7CB5-41C2-BFAF-C02EDC675AB5-72352-000004EE621E90F8 ├── 0~-ZCdcalHHnWrLlCWCvnCNKqVELSDACDTL8zs9Jct0v2hU17dgVVuOH1IW_wA0zJuMK3XE_kzOMZ4Dq7DwuIzWA== │   └── Screenshot_3_60983CFF-C0E2-4DFF-B88B-12C0527FFD8C.jpeg ├── 0~2lPSnjZ0HB-GjJETQBPMYy4XwrM3v3SpwWQeA72j2lTkit3SF1uO52ojCeJ6ntlgFgZazP9uSBGcw19kZbVh3g== │   └── Screenshot_1_D379317E-B6A9-402D-A1C7-EBE1EA5490D6.heic ├── 0~9uDN1_NdHLa7s9iJKGhT00KqmZj6lcOKOpRvFz5jBbUemDm-N_uz2hlMVvY9Qck7bRt8f2ax0dzsNBJSCbQ58g== │  ...

Similar issue here, ```bash ./idb_build.sh idb_companion build /Users/JJ/Downloads ``` ```bash /bin/sh: line 6: protoc: command not found Command RuleScriptExecution failed with a nonzero exit code note: Run script build phase...

Hi @pauljadam, thanks for raising this issue. This code sample was written by me. It's specifically about linking labels to input fields. A shortcoming on iOS is that we don't...

For SwiftUI we have [`accessibilityLabeledPair`](https://developer.apple.com/documentation/swiftui/view/accessibilitylabeledpair(role:id:in:)) but haven't used it myself yet. Relevant discussion: https://stackoverflow.com/questions/73545427/pairing-two-elements-for-accessibility-purposes-with-accessibilitylabeledpairr Maybe we can also backport this to UIKit? But first need a working code sample for...

I have updated the iOS code sample: https://github.com/appt-org/accessibility-code-examples/commit/96ac5d6c85553056fda5a81c9dc50b1deab69181?diff=split The SwiftUI behavior is equal to the UIKit behavior. We are in touch with a SwiftUI developer who will likely contribute code...

@pauljadam there is a code sample using UILabel + UITextField to show how one could provide labels for input fields. ```swift label.text = "Name" field.accessibilityLabel = label.text ``` It's consistent...

The "combining" part is about using a UILabel as label for an input field, such as UITextField or UITextView. How could we word this more clearly? @pauljadam

Hi Pandu, Thanks for your interest in the code samples and for opening this issue. Ideally, you would want to use the [`aria-labelled`](https://reactnative.dev/docs/accessibility#aria-labelledby-android) / [`accessibilityLabelledBy`](https://reactnative.dev/docs/accessibility#accessibilitylabelledby-android) prop. But this prop only...