Update/breadcrumb for accessibility (#40529)
This commit is contained in:
commit
652e7648f8
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: update
|
||||||
|
|
||||||
|
Added aria-label to breadcrumb element
|
|
@ -2338,7 +2338,7 @@ if ( ! function_exists( 'woocommerce_breadcrumb' ) ) {
|
||||||
'woocommerce_breadcrumb_defaults',
|
'woocommerce_breadcrumb_defaults',
|
||||||
array(
|
array(
|
||||||
'delimiter' => ' / ',
|
'delimiter' => ' / ',
|
||||||
'wrap_before' => '<nav class="woocommerce-breadcrumb">',
|
'wrap_before' => '<nav class="woocommerce-breadcrumb" aria-label="Breadcrumb">',
|
||||||
'wrap_after' => '</nav>',
|
'wrap_after' => '</nav>',
|
||||||
'before' => '',
|
'before' => '',
|
||||||
'after' => '',
|
'after' => '',
|
||||||
|
|
Loading…
Reference in New Issue