Skip to content

Commit

Permalink
Add accessibility to the backgound view
Browse files Browse the repository at this point in the history
  • Loading branch information
amegias committed Feb 1, 2024
1 parent 28967aa commit 9a8395b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ class DimmedView: UIView {
super.init(frame: .zero)
alpha = 0.0
backgroundColor = .backgroundOverlay
isAccessibilityElement = true
accessibilityLabel = "background"
addGestureRecognizer(tapGesture)
}

Expand Down

0 comments on commit 9a8395b

Please sign in to comment.