$attributes ) { if ( is_array( $attributes ) ) { $tags[ $tag ]['tabindex'] = true; } } return $tags; } add_filter( 'wp_kses_allowed_html', 'gutenberg_add_tabindex_to_kses_allowed_html' );