You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The description may be displayed or printed and to do that correctly, you need to know the language and the writing direction of the text. Which means that one requirement on the format used for storing rules should be that it must have a way to indicate the language and direction of text. (HTML is an example of a format that can do so.) And a requirement for the author of the description should be to make sure the language and direction of all text in the description are indeed specified.
@bert-github I believe this to be covered by the requirement that the rule be accessible. All standards for accessibility include a requirement that the language is programmatically determined. I think this is sufficient.
Yes, there is text in WCAG that says that it must be possible to determine the human language of text. But WCAG doesn't mention writing direction, which is also needed for correct display of text.
It is the I18N WG's opinion that it is better to have an explicit note somewhere in the spec itself. A note to remind people that, whenever the spec requires text in plain language, it assumes that text has metadata specifying its human language and writing direction. (How that is expressed in the document depends on the specific format.) That is because the text is not necessarily in English and the language and direction may be needed to display the text correctly.
(This is part of the review by the Internationalization WG.)
4.2. Rule Description
https://www.w3.org/TR/2024/WD-act-rules-format-1.1-20240618/#rule-description
The description may be displayed or printed and to do that correctly, you need to know the language and the writing direction of the text. Which means that one requirement on the format used for storing rules should be that it must have a way to indicate the language and direction of text. (HTML is an example of a format that can do so.) And a requirement for the author of the description should be to make sure the language and direction of all text in the description are indeed specified.
Referring to ‘Strings on the Web: Language and Direction Metadata’, maybe in a note, may be useful. It explains why language and direction are needed and describes best practices.
The text was updated successfully, but these errors were encountered: