diff --git a/src/Form/UwSearchForm.php b/src/Form/UwSearchForm.php index 18cc77527c91d0c904f0dcfc95d8c7351ab1a9c2..dde69aa5453f8bad19bc237bd0c667afe8c834fc 100644 --- a/src/Form/UwSearchForm.php +++ b/src/Form/UwSearchForm.php @@ -43,6 +43,7 @@ class UwSearchForm extends FormBase { 'uw-input--checkboxform', ], 'aria-hidden' => 'true', + 'tabindex' => '-1', ], '#theme_wrappers' => [], ]; @@ -54,13 +55,12 @@ class UwSearchForm extends FormBase { // label. $form['label'] = [ '#theme' => 'form_element_label', - '#title' => $this->t('<span class="uw-search--checkboxlabel__labeltext">Open Search </span>'), + '#title' => $this->t('<span class="uw-search--checkboxlabel__labeltext">Open Search Location </span>'), '#title_display' => 'after', '#required' => FALSE, '#id' => 'edit-opentray', '#attributes' => [ 'class' => ['uw-search--checkboxlabel'], - 'aria-hidden' => 'true', ], ]; @@ -72,7 +72,7 @@ class UwSearchForm extends FormBase { ], '#id' => 'uw-search', '#placeholder' => $this->t('Search'), - '#title' => $this->t('<span class="uw-search--labeltext">Search Text </span>'), + '#title' => $this->t('<span class="uw-search--labeltext">Search for </span>'), '#title_display' => 'invisible', '#label' => [ '#theme' => 'form_element_label', @@ -80,7 +80,6 @@ class UwSearchForm extends FormBase { '#id' => 'uw-search', '#attributes' => [ 'class' => ['uw-search--hidelabel'], - 'aria-hidden' => 'true', ], ], ]; @@ -99,14 +98,13 @@ class UwSearchForm extends FormBase { 'inurl:' . $url => $this->t('On this site'), ], '#title_display' => 'invisible', - '#title' => $this->t('Select Label'), + '#title' => $this->t('Search Location'), '#label' => [ '#theme' => 'form_element_label', '#required' => FALSE, '#id' => 'uw-select-site', '#attributes' => [ 'class' => ['uw-search--hidelabel'], - 'aria-hidden' => 'true', ], ], ];