[web-annotation] Issue: Replace textDirection property with recommendation for including control characters in the text marked as i18n-review

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[web-annotation] Issue: Replace textDirection property with recommendation for including control characters in the text marked as i18n-review

r12a via GitHub
aaronpk has just labeled an issue for
https://github.com/w3c/web-annotation as "i18n-review":

== Replace textDirection property with recommendation for including
control characters in the text ==
The `textDirection` property is an unproven theoretical solution to
setting the base text direction. My understanding is it was added to
this spec before it had any real implementation experience.

Currently, there are solutions in Unicode string encoding itself that
can accomplish setting the base text direction. Using the existing
Unicode solution has the added benefit of being supported by many
systems without them doing any extra work. There is a great article by
 the i18n group that covers a handful of control characters and
describes how to use them to set the base text direction:
https://www.w3.org/International/questions/qa-bidi-unicode-controls

My recommendation for the annotation spec is to drop the
`textDirection` property and instead include a recommendation to use
the appropriate control characters as necessary.

See https://github.com/w3c/web-annotation/issues/336