Acf Conditional H1 from radio button field
<<?php if (get_sub_field('tib_is_h1') == 'Yes'): ?>h1 <?php else: ?>h2 <?php endif; ?> class="page-title"><?php the_sub_field('tib_title'); ?></<?php if (get_sub_field('tib_is_h1') == 'Yes'): ?>h1<?php else: ?>h2<?php endif; ?>>