From da6944fc45d8a174dd9cd356a26da54b70bc1f35 Mon Sep 17 00:00:00 2001 From: Marc Shilling Date: Wed, 10 Jul 2024 13:31:16 -0400 Subject: [PATCH] improve accessibility further --- ios/QBImagePicker/QBImagePicker/QBAssetsViewController.m | 1 + 1 file changed, 1 insertion(+) diff --git a/ios/QBImagePicker/QBImagePicker/QBAssetsViewController.m b/ios/QBImagePicker/QBImagePicker/QBAssetsViewController.m index dceb11aa0..983a7d734 100644 --- a/ios/QBImagePicker/QBImagePicker/QBAssetsViewController.m +++ b/ios/QBImagePicker/QBImagePicker/QBAssetsViewController.m @@ -473,6 +473,7 @@ - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cell cell.tag = indexPath.item; cell.showsOverlayViewWhenSelected = self.imagePickerController.allowsMultipleSelection; cell.isAccessibilityElement = true; + cell.accessibilityTraits = UIAccessibilityTraitImage | UIAccessibilityTraitButton; // Image PHAsset *asset = self.fetchResult[indexPath.item];