ISSUE-37: New attribute: submitdir

New attribute: submitdir

Raised by:
Richard Ishida
Opened on:
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 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 />


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:

For implementation status see:

IMPORTANT: This issue was moved from our old review tracking system to the new tracker system. For previous mail relating to this issue, see:
Related Actions Items:
No related actions
Related emails:
  1. Review of tracker issues for best practices (from on 2015-03-25)
  2. I18N-ISSUE-37: New attribute: submitdir [HTML5-bidi] (from on 2011-06-20)

Related notes:

No additional notes.

Display change log ATOM feed

Addison Phillips <>, Chair, Richard Ishida <>, Fuqiao Xue <>, Atsushi Shimono <>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <>.
$Id: index.php,v 1.326 2018/10/13 17:29:51 vivien Exp $