Skip to content

Commit

Permalink
Merge pull request #730 from DFE-Digital/bug/188999-accessibility-issue
Browse files Browse the repository at this point in the history
Fixed AXE issues
  • Loading branch information
mshakirdfe authored Nov 26, 2024
2 parents 7fd7955 + ddade3a commit aa5cf68
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 aa5cf68

Please sign in to comment.