Site icon Hip-Hop Website Design and Development

Repair Kind components shouldn’t have related labels in WordPress Search Kind (with out button)

Is there any method to repair the "Form elements do not have associated labels" challenge in WordPress search type with out having the search button.

Google Mild Home Audit:

Kind components shouldn’t have related labels. Labels make sure that type
controls are introduced correctly by assistive applied sciences, like display
readers. Failing Components enter

<enter kind="text" worth="Search" title="s" id="psf" onblur="if (this.value == '') {this.value = 'Search';}" onfocus="if (this.value == 'Search') {this.value = '';}">

I need to add a label within the type w/o displaying the search button?

I am utilizing this code in my WordPress web site to show search type:

<div id="psform"> 
<?php $search_text = "Search"; ?> 
<type methodology="get" id="searchform"  
motion="<?php bloginfo('home'); ?>/"> 
<enter kind="text" worth="<?php echo $search_text; ?>"  
title="s" id="psf"  
onblur="if (this.worth == '')  
{this.worth = '<?php echo $search_text; ?>';}"  
onfocus="if (this.worth == '<?php echo $search_text; ?>')  
{this.worth = '';}" /> 
<enter kind="hidden" id="searchsubmit" /> 
</type> </div>

Code could be discovered at https://tumrai.com/WordPress_Search_Form_without_Search_Button