W3C home > Mailing lists > Public > public-wicg@w3.org > January 2016

Re: HTML text direction

From: Hall, Charles (DET-MRM) <Charles.Hall@mrm-mccann.com>
Date: Wed, 20 Jan 2016 14:05:01 +0000
To: Richard Dunne <richarddunnebsc@gmail.com>, "public-wicg@w3.org" <public-wicg@w3.org>
Message-ID: <D2C4FC01.3030B%charles.hall@mrm-mccann.com>
The current implementation and support in email clients allows for use of this attribute to be used in certain cases to enable control of display order in responsive column layouts.

The CSS property of float is not supported. The HTML attribute of align is inconsistent and creates unintended inheritance issues. The HTML attribute of dir allows a case like this:

Small screen:

B
A
C
D

Large screen:

A  B  C  D

I understand completely what you are suggesting, and somewhat agree (although I have not gone back to re-read the spec). However, I believe that additional cases like this should be considered if any changes are pursued.
Additionally, I believe the lang attribute and the language set in the browser should help determine the string direction.
If you simply want to reverse the display of a string, CSS transform may be an option.

Cheers,

Charles Hall
UX Architect, Technology

t / 248.203.8723  m / 248.225.8179
e / charles.hall@mrm-mccann.com
skype / charles.h.all
280 N Old Woodward Suite 300, Birmingham MI 48009
w / www.mrm-mccann.com

[cid:0C939248-A40F-4690-8918-6930DD674865]
Creativity. Technology. Performance.

From: Richard Dunne <richarddunnebsc@gmail.com<mailto:richarddunnebsc@gmail.com>>
Date: Wednesday, January 20, 2016 at 8:40 AM
To: "public-wicg@w3.org<mailto:public-wicg@w3.org>" <public-wicg@w3.org<mailto:public-wicg@w3.org>>
Subject: HTML text direction
Resent-From: <public-wicg@w3.org<mailto:public-wicg@w3.org>>
Resent-Date: Wednesday, January 20, 2016 at 8:41 AM

Everyone, I hope understands the difference between left to right and right to left.  They are directional opposites.  Yet, this does not hold true with the HTML text direction attribute rtl.  Any string or characters entered into a text box on a webpage, regardless of directional attribute used, will appear exactly the same, the only difference is the string alignment within the text box.
>From the www.w3.org<http://www.w3.org> website, https://www.w3.org/International/questions/qa-html-dir, the dir attribute is used to set the base direction of text for display.  If right to left, in the literal sense is the exact opposite of left to right, should any text controlled by the rtl text direction attribute not appear right to left, i.e. sdrawkcab?  The only visual/display difference is alignment, not directional as is intended.  I don't know which group within HTML oversees this, but I would like to propose/suggest a re-definition of the rtl text direction attribute, and possibly a new feature that actually allows right to left character input.

Sincerely,

Richard Dunne B.Sc.




5D510C5C-1CCD-479C-A466-98D1FC580B9B[2].png
(image/png attachment: 5D510C5C-1CCD-479C-A466-98D1FC580B9B_2_.png)

Received on Wednesday, 20 January 2016 14:05:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 20 January 2016 14:05:59 UTC