Skip to content

Commit 2927bf1

Browse files
authored
Make the list items accessible (#1439)
We noticed that one of the views for selecting images was not accessible and would like to make it accessible. This was based on user feedback.
1 parent 0efb16c commit 2927bf1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ios/QBImagePicker/QBImagePicker/QBAssetsViewController.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,7 @@ - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cell
472472
QBAssetCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:@"AssetCell" forIndexPath:indexPath];
473473
cell.tag = indexPath.item;
474474
cell.showsOverlayViewWhenSelected = self.imagePickerController.allowsMultipleSelection;
475+
cell.isAccessibilityElement = true;
475476

476477
// Image
477478
PHAsset *asset = self.fetchResult[indexPath.item];

0 commit comments

Comments
 (0)