File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
WordPress/Classes/Utility Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,10 @@ struct EditableTextRow: ImmuTableRow {
94
94
cell. textLabel? . text = title
95
95
cell. detailTextLabel? . text = value
96
96
cell. accessibilityLabel = title
97
- cell. accessibilityHint = value
97
+ cell. accessibilityValue = value
98
+ if cell. isUserInteractionEnabled {
99
+ cell. accessibilityHint = NSLocalizedString ( " Tap to edit " , comment: " Accessibility hint prompting the user to tap a table row to edit its value. " )
100
+ }
98
101
cell. accessoryType = . disclosureIndicator
99
102
if accessoryImage != nil {
100
103
cell. accessoryView = UIImageView ( image: accessoryImage)
@@ -132,7 +135,7 @@ struct TextRow: ImmuTableRow {
132
135
cell. textLabel? . text = title
133
136
cell. detailTextLabel? . text = value
134
137
cell. accessibilityLabel = title
135
- cell. accessibilityHint = value
138
+ cell. accessibilityValue = value
136
139
137
140
cell. selectionStyle = . none
138
141
You can’t perform that action at this time.
0 commit comments