Search form issue

Posted in: Newspaper
Post count: 82

Hi

testing the site with dareboost I get the following error:
Each form must define a submit button

HTML forms are used to send data. For accessibility purposes (eg using a screen reader), all your forms must include a submit button.

How to specify a submit button?

You can send the form data using two kind of elements:
•button
•input, with the type attribute using one of these values: submit, image or button

The following forms should define a button:
•<form method=”get” class=”td-search-form” action=”https://transformations-magazin.com/”&gt;

What to do?

Cheers
Hansjörg

Post count: 22421

Hello,

Sorry but we have not tested dareboost so we have no idea of it’s test
Please use google page speed insights as it is a better trusted test.
There is no issue with our search form.

Here is the nonsensical part:

“HTML forms are used to send data. For accessibility purposes (eg using a screen reader), all your forms must include a submit button”

It is a search form. What data should you send? You only need results. You do not need to send anything to anybody except a request to the server to grab the specific results and the search form does just that. Our search is a live search that provides the results without tapping the button. That is why it does not recognize it.

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.