Commit 1d6f5740f7 for wordpress.org
commit 1d6f5740f7b82acbbdaea5dba3edd96f710b1c69
Author: joedolson <joedolson@git.wordpress.org>
Date: Fri Sep 25 23:16:46 2026 +0000
Bundled Themes: Set default `aria-label` on footer nav.
The navigation templates in the footer did not provide a default `aria-label`. Since this value is set by the menu, it could only be configured in the theme by replacing the menu.
Add `ariaLabel` parameter to the block to provide a default.
Props joedolson, mukesh27.
Fixes #66182.
Built from https://develop.svn.wordpress.org/trunk@63939
git-svn-id: http://core.svn.wordpress.org/trunk@63105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-content/themes/twentytwentyfive/patterns/footer.php b/wp-content/themes/twentytwentyfive/patterns/footer.php
index 4dec2cc6ac..e4e89cfe71 100644
--- a/wp-content/themes/twentytwentyfive/patterns/footer.php
+++ b/wp-content/themes/twentytwentyfive/patterns/footer.php
@@ -41,7 +41,7 @@
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|80"}},"layout":{"type":"flex","flexWrap":"wrap","verticalAlignment":"top","justifyContent":"space-between"}} -->
<div class="wp-block-group">
- <!-- wp:navigation {"overlayMenu":"never","layout":{"type":"flex","orientation":"vertical"}} -->
+ <!-- wp:navigation {"ariaLabel":"<?php esc_attr_e( 'Footer 1', 'twentytwentyfive' ); ?>","overlayMenu":"never","layout":{"type":"flex","orientation":"vertical"}} -->
<!-- wp:navigation-link {"label":"<?php esc_html_e( 'Blog', 'twentytwentyfive' ); ?>","url":"#"} /-->
<!-- wp:navigation-link {"label":"<?php esc_html_e( 'About', 'twentytwentyfive' ); ?>","url":"#"} /-->
@@ -51,7 +51,7 @@
<!-- wp:navigation-link {"label":"<?php esc_html_e( 'Authors', 'twentytwentyfive' ); ?>","url":"#"} /-->
<!-- /wp:navigation -->
- <!-- wp:navigation {"overlayMenu":"never","layout":{"type":"flex","orientation":"vertical"}} -->
+ <!-- wp:navigation {"ariaLabel":"<?php esc_attr_e( 'Footer 2', 'twentytwentyfive' ); ?>","overlayMenu":"never","layout":{"type":"flex","orientation":"vertical"}} -->
<!-- wp:navigation-link {"label":"<?php esc_html_e( 'Events', 'twentytwentyfive' ); ?>","url":"#"} /-->
<!-- wp:navigation-link {"label":"<?php esc_html_e( 'Shop', 'twentytwentyfive' ); ?>","url":"#"} /-->
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 3d74ce0681..a9ca1420bd 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.2-alpha-63938';
+$wp_version = '7.2-alpha-63939';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.