Hello,
I am trying to add to the text box (block seek) a explains label.

I am editing "search.module" of the search module, here is the following code:

$form[$form_id .'_keys'] = array(
'#type' => 'textfield',
'#size' => 15,
'#default_value' => '',
'#attributes' => array('title' => t('Enter the terms you wish to search for.'),
'alt' => t('Enter the terms you wish to search for.')),
);

I insert the value "alt" in the text box and it works perfectly.
The next step is to introduce the label LABEL to make the module meets WAI AA.

I have to insert:

Enter the terms you wish to search for.
I see the id in HTML code.

My problem is not know to introduce it.
Do exist in Drupal core a fuction to introduce the label "label"??

Thank you.