diff --git a/src/wp-includes/blocks.php b/src/wp-includes/blocks.php
index 9df70abaf4..f5f276e1db 100644
a
|
b
|
function get_query_pagination_arrow( $block, $is_next ) { |
1223 | 1223 | $arrow_attribute = $block->context['paginationArrow']; |
1224 | 1224 | $arrow = $arrow_map[ $block->context['paginationArrow'] ][ $pagination_type ]; |
1225 | 1225 | $arrow_classes = "wp-block-query-pagination-$pagination_type-arrow is-arrow-$arrow_attribute"; |
1226 | | return "<span class='$arrow_classes'>$arrow</span>"; |
| 1226 | return "<span class='$arrow_classes' aria-hidden='true'>$arrow</span>"; |
1227 | 1227 | } |
1228 | 1228 | return null; |
1229 | 1229 | } |
… |
… |
function get_comments_pagination_arrow( $block, $pagination_type = 'next' ) { |
1372 | 1372 | $arrow_attribute = $block->context['comments/paginationArrow']; |
1373 | 1373 | $arrow = $arrow_map[ $block->context['comments/paginationArrow'] ][ $pagination_type ]; |
1374 | 1374 | $arrow_classes = "wp-block-comments-pagination-$pagination_type-arrow is-arrow-$arrow_attribute"; |
1375 | | return "<span class='$arrow_classes'>$arrow</span>"; |
| 1375 | return "<span class='$arrow_classes' aria-hidden='true'>$arrow</span>"; |
1376 | 1376 | } |
1377 | 1377 | return null; |
1378 | 1378 | } |