Skip to content

Commit fd7a5d7

Browse files
committed
Hide example prompt card from VoiceOver.
1 parent 988dc39 commit fd7a5d7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

WordPress/Classes/ViewRelated/Feature Introduction/Blogging Prompts/BloggingPromptsFeatureDescriptionView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ private extension BloggingPromptsFeatureDescriptionView {
3737
promptCard.cardFrameView.layer.shadowOpacity = Style.cardShadowOpacity
3838
promptCard.cardFrameView.layer.shadowRadius = Style.cardShadowRadius
3939

40+
promptCardView.accessibilityElementsHidden = true
4041
promptCardView.addSubview(promptCard.cardFrameView)
4142
promptCardView.pinSubviewToAllEdges(promptCard.cardFrameView)
4243
}

0 commit comments

Comments
 (0)