Drupal - Hide field label with hook_form_alter()
Unsetting not really, hide yes : use #title_display and its get accessible to screenreader :
$form['my_field']['#title_display'] = 'invisible';
Unsetting not really, hide yes : use #title_display and its get accessible to screenreader :
$form['my_field']['#title_display'] = 'invisible';