Mark post content as an accessibility element
This commit is contained in:
parent
1c236859ab
commit
715aa8c248
|
@ -79,7 +79,7 @@ extension StatusThreadRootTableViewCell {
|
||||||
statusView.delegate = self
|
statusView.delegate = self
|
||||||
|
|
||||||
// a11y
|
// a11y
|
||||||
statusView.contentMetaText.textView.isAccessibilityElement = false
|
statusView.contentMetaText.textView.isAccessibilityElement = true
|
||||||
statusView.contentMetaText.textView.isSelectable = true
|
statusView.contentMetaText.textView.isSelectable = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -98,8 +98,9 @@ extension StatusThreadRootTableViewCell {
|
||||||
var elements = [
|
var elements = [
|
||||||
statusView.headerContainerView,
|
statusView.headerContainerView,
|
||||||
statusView.authorView,
|
statusView.authorView,
|
||||||
statusView.spoilerOverlayView,
|
statusView.viewModel.isContentReveal
|
||||||
statusView.contentMetaText.textView,
|
? statusView.contentMetaText.textView
|
||||||
|
: statusView.spoilerOverlayView,
|
||||||
statusView.mediaGridContainerView,
|
statusView.mediaGridContainerView,
|
||||||
statusView.pollTableView,
|
statusView.pollTableView,
|
||||||
statusView.pollStatusStackView,
|
statusView.pollStatusStackView,
|
||||||
|
|
Loading…
Reference in New Issue