Skip to content

Commit

Permalink
Fixed AXE issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mshakirdfe committed Nov 26, 2024
1 parent 7fd7955 commit ddade3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<div class="@(!ViewData.ModelState.IsValid ? "govuk-form-group--error" : "")">

<h2 class="govuk-caption-l">School details</h2>
<fieldset class="govuk-fieldset" data-required data-error="Search cannot be blank" aria-required="true">
<fieldset class="govuk-fieldset" data-required data-error="Search cannot be blank">
<div id="SearchQueryContainer" class="govuk-form-group">
<legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
<h2 class="govuk-fieldset__heading govuk-heading-m">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<div class="@(!ViewData.ModelState.IsValid ? "govuk-form-group--error" : "")">

<h2 class="govuk-heading-m">Trust details</h2>
<fieldset class="govuk-fieldset" data-required data-error="Search cannot be blank" aria-required="true">
<fieldset class="govuk-fieldset" data-required data-error="Search cannot be blank">
<div id="SearchQueryContainer" class="govuk-form-group">
<legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
<h2 class="govuk-fieldset__heading govuk-heading-m">
Expand All @@ -39,7 +39,7 @@
<input id='SearchQueryInput' asp-for="@Model.SearchQuery"
class="govuk-input govuk-input--width-20"
maxlength="100"
type="search" aria-valuetext=""
type="search"
aria-describedby="search-hint search-error"/>
<div id="autocomplete-container" data-cy="trustSearchBox"></div>
</div>
Expand Down

0 comments on commit ddade3a

Please sign in to comment.