Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value of default direction #21

Open
r12a opened this issue May 3, 2017 · 3 comments
Open

Value of default direction #21

r12a opened this issue May 3, 2017 · 3 comments

Comments

@r12a
Copy link
Contributor

r12a commented May 3, 2017

3.3.1 Setting the default base direction
https://w3c.github.io/bp-i18n-specdev/#bidi_res_default

The default base direction, in the absence of other information, should be LTR.

Should we change this to say AUTO?

@matial
Copy link

matial commented May 4, 2017

I am in favor of changing the default base direction to AUTO. If the text in question contains no RTL characters, there will be no difference in effect between the default being LTR or AUTO.
If the text does contain RTL characters, then this is the use case for AUTO.
The one counter example would be when the author judges that the LTR direction is mandated even when the first strong character is RTL, so changing the default to AUTO would require the author to explicitly specify the direction as LTR.
I expect that such a case is more unlikely than when AUTO does the right thing.

@aphillips
Copy link
Contributor

Guidance please? Should I make this change? I suspect that I should with the addition of some explanatory text.

@xfq
Copy link
Member

xfq commented Dec 19, 2023

I agree with changing it to auto. auto seems to have less chance of error than ltr when metadata is not available, and it is consistent with specs like Notifications API and Web Application Manifest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants