website icon indicating copy to clipboard operation
website copied to clipboard

Fix form controls in header file

Open atsansone opened this issue 2 years ago • 0 comments

The input tag of the search form needs an accepted type attribute: image or submit. The current type, search, is valid HTML but not valid for WCAG.

Error: This form does not contain a submit button, which creates issues for those who cannot submit the form using the keyboard. Submit buttons are INPUT elements with type attribute "submit" or "image", or BUTTON elements with type "submit" or omitted/invalid.

Code: H32 #WCAG2AA.Principle3.Guideline3_2.3_2_2.H32.2

Location: #navbarSupportedContent > div:nth-child(2) > form

<form action="/search/" class="site-header__search form-inline"><input class="site-h...</form>

atsansone avatar Oct 16 '23 17:10 atsansone