diff --git a/packages/block-library/src/footnotes/index.php b/packages/block-library/src/footnotes/index.php index 5924db3a190c2..8094306760546 100644 --- a/packages/block-library/src/footnotes/index.php +++ b/packages/block-library/src/footnotes/index.php @@ -39,15 +39,20 @@ function render_block_core_footnotes( $attributes, $content, $block ) { } $wrapper_attributes = get_block_wrapper_attributes(); + $footnote_index = 1; $block_content = ''; foreach ( $footnotes as $footnote ) { + // Translators: %d: Integer representing the number of return links on the page. + $aria_label = sprintf( __( 'Jump to footnote reference %1$d' ), $footnote_index ); $block_content .= sprintf( - '
  • %2$s ↩︎
  • ', + '
  • %2$s ↩︎
  • ', $footnote['id'], - $footnote['content'] + $footnote['content'], + $aria_label ); + ++$footnote_index; } return sprintf(