Hello,
Some elements like the “Search” element (all its variants: inline, dropdown and modal) are being output with the attribute tabindex empty (without a given value), for example:
<input id="s-e6-7" class="x-search-input" type="search" name="s" tabindex="" placeholder="Search" >
All the HTML specifications (HTML Living Standard, HTML 5.1, HTML 5.0 and HTML 4.01) state that:
“The tabindex attribute, if specified, must have a value that is a valid integer.”
So when the theme is outputting some of these elements with the tabindex attribute but without giving a value to it, it is outputting invalid HTML.
In this case the search elements are being built by /pro/cornerstone/includes/views/partials/search.php, as you can see the theme is adding the tabindex attribute:
$atts_search_submit = array(
'class' => 'x-search-btn x-search-btn-submit',
'type' => 'button',
'data-x-search-submit' => '',
'tabindex' => ''
);
$atts_search_input = array(
'id' => 's-' . $mod_id,
'class' => 'x-search-input',
'type' => 'search',
'name' => 's',
'tabindex' => ''
);
if ( ! empty( $search_placeholder ) ) {
$atts_search_input['placeholder'] = $search_placeholder;
}
$atts_search_clear = array(
'class' => 'x-search-btn x-search-btn-clear',
'type' => 'button',
'data-x-search-clear' => '',
'tabindex' => ''
);
Thanks!
Regards
Diego