Skip to content

Commit

Permalink
Make the list items accessible (#1439)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
v-miibr authored Jan 22, 2024
1 parent 0efb16c commit 2927bf1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ios/QBImagePicker/QBImagePicker/QBAssetsViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cell
QBAssetCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:@"AssetCell" forIndexPath:indexPath];
cell.tag = indexPath.item;
cell.showsOverlayViewWhenSelected = self.imagePickerController.allowsMultipleSelection;
cell.isAccessibilityElement = true;

// Image
PHAsset *asset = self.fetchResult[indexPath.item];
Expand Down

0 comments on commit 2927bf1

Please sign in to comment.