w3c / i18n-checker

W3C's i18n checker
https://validator.w3.org/i18n-checker/
Other
36 stars 17 forks source link

Check for a mixture of bidi characters #65

Open r12a opened 8 years ago

r12a commented 8 years ago

check the text content, and if it contains both rtl and ltr characters, raise a warning to say that you should check that all opposite-direction phrases are tightly wrapped with isolating directional info.

ideally, such a warning would only be raised for opposite-direction phrases that are not tightly wrapped (see https://www.w3.org/International/articles/inline-bidi-markup/index#unknownuc)

see an example of this in Moriel Schottlender's tool: test https://www.w3.org/International/articles/article-text-size.ar at http://rtl.works/