Skip to content

Commit

Permalink
Remove screen reader only punctuation from site meta lists
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwoodnz committed Oct 13, 2023
1 parent 6e41c2d commit 6ea8b6e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function( $field ) use ( $attributes ) {
if ( ! empty( $value ) ) {
$list_items[] = sprintf(
'<li class="is-meta-%1$s">
<strong%2$s>%3$s<span class="screen-reader-text">:</span></strong> %4$s
<strong%2$s>%3$s</strong> %4$s
</li>',
$field['key'],
$show_label ? '' : ' class="screen-reader-text"',
Expand Down

0 comments on commit 6ea8b6e

Please sign in to comment.