Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Fix #6401: Add button accessibility traits to URL bar text field #6402

Merged
merged 1 commit into from
Nov 16, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,11 @@ class DisplayTextField: UITextField {
super.accessibilityCustomActions = newValue
}
}

override var accessibilityTraits: UIAccessibilityTraits {
get { [.staticText, .button] }
set { }
}

override var canBecomeFirstResponder: Bool {
return false
Expand Down