-
Hi,
to improve accessibility you should change the default breadcrumbs like written here:
https://www.w3.org/TR/wai-aria-practices-1.1/examples/breadcrumb/index.htmlExample could look like in this filter:
add_filter( 'rank_math/frontend/breadcrumb/args', function( $args ) { $args = array( 'delimiter' => ' / ', 'wrap_before' => '<nav class="breadcrumb" aria-label="Breadcrumb"><ol class="breadcrumb__list">', 'wrap_after' => '</ol></nav>', 'before' => '<li class="breadcrumb__list-item">', 'after' => '</li>', ); return $args; } );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The ticket ‘Improve breadcrumb accessibility’ is closed to new replies.