From 8c165a54ea5aed17e539c88388e88962882982ca Mon Sep 17 00:00:00 2001 From: Mark Woodard Date: Wed, 22 Jan 2025 17:31:31 -0600 Subject: [PATCH] Removing aria-labeledby from the progressbar display as it no longer has the progress bar role https://stellarwp.atlassian.net/browse/KAD-3917 --- includes/blocks/class-kadence-blocks-progress-bar-block.php | 3 --- 1 file changed, 3 deletions(-) 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'];