I18N-ISSUE-37: New attribute: submitdir [HTML5-bidi]

I18N-ISSUE-37: New attribute: submitdir [HTML5-bidi]

http://www.w3.org/International/track/issues/37

Raised by: Richard Ishida
On product: HTML5-bidi

This is a part of the proposals made by the "Additional Requirements for Bidi in HTML" W3C First Public Working Draft. For a full description of the use cases, please see http://www.w3.org/International/docs/html-bidi-requirements/#reporting-direction. Here is the proposal made there:

Support a new attribute, tentatively named submitdir, in <input> and <textarea>. Its presence will specify that when the element is a "successful control" (i.e. its value is to be included in the form submission), then the value of the element's computed direction (at submission time) is also to be included in the submission, as an additional "successful control". (Reminder: the computed direction is the bottom-line "ltr" or "rtl" being used to display the element; it never takes on any other value. It is available as the value of the CSS direction property for the element.)

The additional control's name is to be the element's control name suffixed with "_dir". If the form contains other control(s) with the same control name as the additional control, the additional control will still be submitted alongside them; it is up to the application to sort out what the different control values mean.

The value of the submitdir attribute is immaterial; it would normally be an empty string (when the attribute is present without a value) or "submitdir".

For example, let's assume that a dir attribute value to indicate direction estimation is "auto", and an RTL page contains the following form:

<form action="foo" method="get">

<input type="text" name="mytest" dir="auto" submitdir />

</form>

Then, if the user typed in the LTR value "hello", the submission URL would be "foo?mytest=hello&mytest_dir=ltr".


Please add comments to bugzilla:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10809

For implementation status see:
https://docs.google.com/document/d/17nb3wlYkIG9MNtL1mlXVPOVe4QwyApiHRYim3nTi5CE/edit?hl=en&pli=1#heading=h.5ximwchvrxcg


IMPORTANT: This issue was moved from our old review tracking system to the new tracker system. For previous mail relating to this issue, see: http://www.w3.org/Search/Mail/Public/advanced_search?keywords=&hdr-1-name=subject&hdr-1-query=%20new%20attribute%20submitdir&hdr-2-name=from&hdr-2-query=&hdr-3-name=message-id&hdr-3-query=&index-grp=Member__FULL+Public__FULL&index-type=t&type-index=public-i18n-bidi%40w3.org&resultsperpage=20&sortby=date

Received on Monday, 20 June 2011 16:41:17 UTC