semanticLabel property

String? semanticLabel
final

What VoiceOver reads for the button.

Without it, VoiceOver reads label, or for an icon-only button the SF Symbol's built-in name — which describes the picture, not the action (moon is read as "do not disturb"). Set it on every icon-only button.

Implementation

final String? semanticLabel;