Update/breadcrumb for accessibility (#40529)

This commit is contained in:
Ron Rennick 2023-10-18 13:36:13 -03:00 committed by GitHub
commit 652e7648f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: update
Added aria-label to breadcrumb element

View File

@ -2338,7 +2338,7 @@ if ( ! function_exists( 'woocommerce_breadcrumb' ) ) {
'woocommerce_breadcrumb_defaults',
array(
'delimiter' => ' / ',
'wrap_before' => '<nav class="woocommerce-breadcrumb">',
'wrap_before' => '<nav class="woocommerce-breadcrumb" aria-label="Breadcrumb">',
'wrap_after' => '</nav>',
'before' => '',
'after' => '',