Re: SVG labelling issue with ARIA

"Dr. Olaf Hoffmann" <[email protected]> Thu, 21 Apr 2016 22:42:26 +0200
Newsgroups gmane.comp.web.svg
Message-ID <6614532.HB4j60lI7N@ap03>
Chaals McCathie Nevile:
...
>Note that the idea of using multiple titles is at risk since it isn't  
>implemented in browsers. The mechanism that does work is to use  
>systemLanguage:
>
>   <switch>
>    <circle r="50" cx="450" cy="100" fill="purple" systemLanguage="jp">
>     <title>これは日本語です</title>
>    </circle>
>    <circle r="50" cx="450" cy="100" fill="purple" systemLanguage="ru">
>     <title>Вот что-то по-русски</title>
>    </circle>
>    <circle r="50" cx="450" cy="100" fill="purple" systemLanguage="en">
>     <title>This is english</title>
>    </circle>
>    <circle r="50" cx="450" cy="100" fill="purple" systemLanguage="fr">
>     <title>Voici français, le defaut</title>
>    </circle>
>   </switch>
>
>Which is pretty ugly where you have a real structure to maintain...
>
>Running the <switch> just for the titles doesn't work in any browser  
>either :(

It is even worse for the root svg element, obviously one cannot put a switch 
around, one needs to put the switch around the title collection for 
multilingual documents, which appear quite often for example at wikimedia 
commons, but due to this problem typically without any text alternative at 
all.

But this was already discussed here years ago - obviously no implementations 
of the suggestions resulting from this discussion in this mailing list.

But this seems to be mainly yet another bug/gap in the usual viewers, not 
really a problem of SVG recommendations.


Olaf