Skip to content
Snippets Groups Projects
Commit dee6cb3e authored by Angie Byron's avatar Angie Byron
Browse files

#356359 by mgifford and nfreear: Resolve accessibility failures in search form.

parent 72b4442a
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -1071,7 +1071,7 @@ function search_form(&$form_state, $action = '', $keys = '', $type = NULL, $prom ...@@ -1071,7 +1071,7 @@ function search_form(&$form_state, $action = '', $keys = '', $type = NULL, $prom
'#attributes' => array('class' => 'search-form'), '#attributes' => array('class' => 'search-form'),
); );
$form['module'] = array('#type' => 'value', '#value' => $type); $form['module'] = array('#type' => 'value', '#value' => $type);
$form['basic'] = array('#type' => 'item', '#title' => $prompt); $form['basic'] = array('#type' => 'item', '#title' => $prompt, '#id' => 'edit-keys');
$form['basic']['inline'] = array('#prefix' => '<div class="container-inline">', '#suffix' => '</div>'); $form['basic']['inline'] = array('#prefix' => '<div class="container-inline">', '#suffix' => '</div>');
$form['basic']['inline']['keys'] = array( $form['basic']['inline']['keys'] = array(
'#type' => 'textfield', '#type' => 'textfield',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment