Global site search, can a label be associated to input field?

Permalink
I've been doing some accessibility tests on a site I developed in 5.6 and one error I am getting is "input element, type of "text", missing an associated label"
and
"input element, type of "text", has no text in label."

I'm using the site search block with the following code in my template

<?php
$a = new GlobalArea('SiteSearch');
$a->display();
?>


Which is generating the following mark-up in question

<input name="query" type="text" value="" class="ccm-search-block-text" />


Does anyone have any suggestions on how I could add a label to associate to the input above?

Thanks