Skip to content

Commit

Permalink
Merge pull request #655 from stellarwp/bugfix/KAD-3917
Browse files Browse the repository at this point in the history
Removing aria-labeledby from the progressbar display as it no longer …
  • Loading branch information
mark-c-woodard authored Jan 22, 2025
2 parents ae54ffb + 8c165a5 commit 557e7dc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions includes/blocks/class-kadence-blocks-progress-bar-block.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down

0 comments on commit 557e7dc

Please sign in to comment.