ikiwiki/doc/todo/expose_html_language_and_di...

16 lines
680 B
Markdown

[[!template id=gitbranch branch=mhameed/html_lang_and_dir author="[[mhameed]]"]]
[[!tag wishlist]]
When a wiki is translatable, it would be nice to have the language code and the direction of the text exposed as template variables.
This means:
1. Better rendering for rtl languages.
2. Content can correctly be tagged with the language code, to enable screenreaders and other accessibility providers to render/speak the text in the correct language.
The [[patch]] is currently being used on http://addons.nvda-project.org and seems to work well. --[[mhameed]]
> I don't have commit access, but it [[seems reasonable|/users/smcv/ready]].
> --[[smcv]]
>> [[done]]] --[[Joey]]