Bp spec bidi
From Internationalization
Collaborative editing page
Follow the conventions for editing this page.
Status: Initial Draft ie. please focus on technical content, rather than wordsmithing at this stage.
See the [I18n Core home page].
Author: Richard Ishida
Initial Best Practices for Specification Developers: Handling Bidi
- provide dedicated attributes for control of base direction and bidirectional overrides; do not rely on the user applying style properties to arbitrary markup to achieve bidi control
- allow bidi attributes on all elements that contain text content
- provide attributes that allow the user to (a) create an embedded base direction or (b) override the bidirectional algorithm altogether; the attribute should allow the user to set the direction to ltr or rtl in either of these two scenarios.
- declare the default base direction of the document to be LTR.
- make it possible to set the base direction on the top level element in a document
- ensure that the base direction set on an element is applied to all contained elements and text (unless, of course, the base direction is changed by a contained element using the directional attributes)
- provide a span-like element that can be used for any text content to change the base direction in the absence of other markup
- avoid natural language text in elements that only allow for plain text and in attribute values.
