Mark the spoiler overlay view as a button

This commit is contained in:
Jed Fox 2022-10-31 13:15:29 -04:00
parent 715aa8c248
commit 4da11c9dfb
No known key found for this signature in database
GPG Key ID: 0B61D18EA54B47E1
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ extension SpoilerOverlayView {
spoilerMetaLabel.isUserInteractionEnabled = false
isAccessibilityElement = true
accessibilityTraits.insert(.button)
}
public func setComponentHidden(_ isHidden: Bool) {