From bd7d39ec96fb9d80d33fdff18246b063203735fe Mon Sep 17 00:00:00 2001 From: Mesar Hameed Date: Mon, 14 Oct 2013 15:33:24 +0200 Subject: [PATCH] Added wishlist+possible patch, expose template variables for html language and direction. --- doc/todo/expose_html_language_and_direction.mdwn | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/todo/expose_html_language_and_direction.mdwn diff --git a/doc/todo/expose_html_language_and_direction.mdwn b/doc/todo/expose_html_language_and_direction.mdwn new file mode 100644 index 000000000..c68834456 --- /dev/null +++ b/doc/todo/expose_html_language_and_direction.mdwn @@ -0,0 +1,10 @@ +[[!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]] -- 2.44.0