AccessibilityLabel sets the text read by screen readers for this view.
(s string)
| 289 | |
| 290 | // AccessibilityLabel sets the text read by screen readers for this view. |
| 291 | func (n *viewNode) AccessibilityLabel(s string) *viewNode { |
| 292 | n.modifier.a11yLabel = s |
| 293 | n.modifier.hasA11y = true |
| 294 | return n |
| 295 | } |
| 296 | |
| 297 | // AccessibilityHint sets additional context read by screen readers. |
| 298 | func (n *viewNode) AccessibilityHint(s string) *viewNode { |