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

Commit

Permalink
Fix #6401: Add button accessibility traits to URL bar text field (#6402)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylehickinson authored and nuo-xu committed Nov 16, 2022
1 parent 7970283 commit e435895
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Client/Frontend/Browser/Toolbars/UrlBar/TabLocationView.swift
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

0 comments on commit e435895

Please sign in to comment.