diff --git a/includes/blocks/class-kadence-blocks-progress-bar-block.php b/includes/blocks/class-kadence-blocks-progress-bar-block.php index 238157fdf..5db63f3dd 100644 --- a/includes/blocks/class-kadence-blocks-progress-bar-block.php +++ b/includes/blocks/class-kadence-blocks-progress-bar-block.php @@ -243,9 +243,6 @@ public function build_html( $attributes, $unique_id, $content, $block_instance ) $progress_args = [ 'class' => 'kb-progress-bar kb-progress-bar-' . esc_attr( $unique_id ), ]; - if ( ! empty( $attributes['label'] ) && ( ! isset( $attributes['displayLabel'] ) || ( isset( $attributes['displayLabel'] ) && $attributes['displayLabel'] !== false ) ) ) { - $progress_args['aria-labelledby'] = 'kt-progress-label' . esc_attr( $unique_id ); - } $mask = ! empty( $attributes['maskSvg'] ) ? $attributes['maskSvg'] : 'star'; if ( ! empty( $attributes['ariaLabel'] ) ) { $progress_args['aria-label'] = $attributes['ariaLabel'];