Merge branch 'bugfix/CXTDT-578885' into 'develop'

Fix for CXTDT-578885, setting up accessibility for Table

See merge request BPHV_MIPS/vds_ios_sample!74
This commit is contained in:
Bruce, Matt R 2024-10-16 16:18:17 +00:00
commit 5891aa6d44

View File

@ -147,7 +147,11 @@ class TableViewController: BaseViewController<Table> {
func setupModel() {
///Header row
self.component.tableHeader = [TableRowModel(columns: [TableItemModel(bottomLine: .primary, component: nil),
let tableInfoLabel = Label().with({
$0.text = ""
$0.accessibilityLabel = "Verizon Plan compare, table, with 3 Rows, 3 Columns, Empty"
})
self.component.tableHeader = [TableRowModel(columns: [TableItemModel(bottomLine: .primary, component: tableInfoLabel),
TableItemModel(bottomLine: .primary, component: Label().with { $0.text = "Verizon smart family"; $0.textStyle = .boldTitleSmall; $0.lineBreakMode = .byWordWrapping}),
TableItemModel(bottomLine: .primary, component: Label().with { $0.text = "Call filter"; $0.textStyle = .boldTitleSmall; $0.lineBreakMode = .byWordWrapping })], isHeader: true)]