W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 2016

RE: Is the <form> tag mandatory?

From: <alands289@gmail.com>
Date: Thu, 27 Oct 2016 13:46:02 -0400
Message-ID: <58123d5e.c830c80a.90717.a075@mx.google.com>
To: Andrew Kirkpatrick <akirkpat@adobe.com>, Andy Keyworth <akeyworth@tbase.com>, WAI Interest Group <w3c-wai-ig@w3.org>
Cc: "Mohammad, Ashraf" <Ashraf.Mohammad@sabre.com>
And for 2.4.5 the Sufficient Techniques further state:
1. Using two or more of the following techniques:
o G125: Providing links to navigate to related Web pages 
o G64: Providing a Table of Contents 
o PDF2: Creating bookmarks in PDF documents (PDF) 
o G63: Providing a site map 
o G161: Providing a search function to help users find content 
o G126: Providing a list of links to all other Web pages 
o G185: Linking to all of the pages on the site from the home page 


Sent from Mail for Windows 10

From: Andrew Kirkpatrick
Sent: Thursday, October 27, 2016 1:36 PM
To: Andy Keyworth; WAI Interest Group
Cc: Mohammad, Ashraf
Subject: Re: Is the <form> tag mandatory?

I would disagree that 2.4.5 applies to a form on a page since 2.4.5 reads:

Multiple Ways: More than one way is available to locate a Web page within a set of Web pagesexcept where the Web Page is the result of, or a step in, a process. (Level AA)

You seem to be describing the need for multiple ways to navigate a single page, but 2.4.5 only applies to the location of a page within a set.


Andrew Kirkpatrick
Group Product Manager, Standards and Accessibility


From: Andy Keyworth <akeyworth@tbase.com>
Date: Thursday, October 27, 2016 at 13:03
To: WAI-IG <w3c-wai-ig@w3.org>
Cc: "Mohammad, Ashraf" <Ashraf.Mohammad@sabre.com>
Subject: RE: Is the <form> tag mandatory?
Resent-From: WAI-IG <w3c-wai-ig@w3.org>
Resent-Date: Thursday, October 27, 2016 at 13:04

In auditing websites, I’ve noticed a real impact on screen reader usability when the <form>…</form> is absent. This has been most apparent on pages where there is a prominent form in the content which wraps using the “<form>” tags, but also a search box in the page header which does not do the same. In these cases, the search box function is noticeably less easy to find and use. 
I would argue this can have an impact on whether the site can claim to meet WCAG 2.0 Success Criterion 2.4.5, “Multiple Ways”.
Andy Keyworth
Online Accessibility and Product Development Specialist 
Certified ADA Coordinator
T-Base Communications
Phone: 613-236-0866 | Toll free: 1-800-563-0668 x1256
www.tbase.com| Ogdensburg, NY | Ottawa, ON
For accessibility stories to inform & inspire, follow #tbasestories!
This email may contain information that is privileged and confidential. If you have received this communication in error, please delete this email message immediately.
From: chaals@yandex-team.ru [mailto:chaals@yandex-team.ru] 
Sent: October-27-16 12:44 PM
To: Christophe Strobbe; Steve Faulkner
Cc: WAI Interest Group
Subject: Re: Is the <form> tag mandatory?
Because you don't *need* a form tag to make it possible to fill in some input elements and send the data - assuming javascript is running properly, which is not always the case but happens most of the time.
You can't work out what is in the particular form being submitted if you don't have a form tag, but then you have to have a specialised browser extension or a particularly friendly developer who made that possible or you can't do that anyway in practice.
The point about the tags being mandatory is that if you want the DOM to record a form, you need both tags to go into the parser. Whereas for example you can leave out both the start and end tags for tbody or body and it will still create the elements…
27.10.2016, 18:37, "Christophe Strobbe" <strobbe@hdm-stuttgart.de>:
Hi Steve,

On 27/10/2016 17:56, Steve Faulkner wrote:
On 27 October 2016 at 16:42, Christophe Strobbe <strobbe@hdm-stuttgart.de> wrote:
According to the HTML5 specification, the both the start tag and the end
tag of the form element are mandatory:
Hi Christophe, they are not mandatory to use, but if you do have a start tag <form> you must have an end tag </form>

How does that rhyme with the statement "Neither tag is omissible." in the HTML5.0 specification? 
(You can find the same statement about elements such as label, legend, textarea, header, footer, main, aside, section, nav and figure. For example, how would you know that something is a legend when there is neither a start tag nor an end tag?) 
The omission of tags follows certain rules: <https://www.w3.org/TR/html5/syntax.html#optional-tags>.

Best regards,


Ashraf, use of the form element is not a requirement for accessibility. If the interaction you have designed does not need a form element to function then that is fine.



Current Standards Work @W3C
Christophe Strobbe
Akademischer Mitarbeiter
Responsive Media Experience Research Group (REMEX)
Hochschule der Medien
Nobelstraße 10
70569 Stuttgart
Tel. +49 711 8923 2749
“I drink tea and I know things.” 
Falsely attributed to Christophe Lannister.
Charles McCathie Nevile - web standards - CTO Office, Yandex
chaals@yandex-team.ru - - - Find more at http://yandex.com
Received on Thursday, 27 October 2016 17:46:39 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 27 October 2016 17:46:40 UTC