Call preventDefault at the start of handleSubmit so failed validation
does not trigger a native form submit. Map ascii_sentence inputs to
text. Set ascii_sentence on suggestionsBrowserKey test arguments so
hyphenated values pass validation.
Co-authored-by: Cursor <cursoragent@cursor.com>