Skip to content

Commit

Permalink
Added accesibilityIdentifiers for chat engament messaging AT
Browse files Browse the repository at this point in the history
  • Loading branch information
Egor Egorov authored and dukhovnyi committed Jul 22, 2022
1 parent b6d8417 commit b0cacfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions GliaWidgets/Coordinator/Chat/ChatCoordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ class ChatCoordinator: SubFlowCoordinator, FlowCoordinator {
let configuration = SFSafariViewController.Configuration()
configuration.entersReaderIfAvailable = true
let safariViewController = SFSafariViewController(url: url, configuration: configuration)
safariViewController.view.accessibilityIdentifier = "safari_root_view"
navigationPresenter.present(safariViewController)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class ChatTextContentView: UIView {
}
textView.text = text
}
accessibilityIdentifier = text
textView.accessibilityIdentifier = text
}
}

Expand Down

0 comments on commit b0cacfb

Please sign in to comment.