![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| ||||||
| ||||||
|
|
can't figure this one out, what's the CSS way to specify the language? |
|
In HTML it would be simply an lang="xx" attribute, or XHTML xml:lang="xx", |
|
This would be required for a screen reader (text to speech) for accessibility, to help the reader software use the correct presentation method (e.g. correct language module). |
|
As a pseudo example of what I'm looking for: set Finnish 'fi' for certain td's td.fi { lang: fi; font-family: Arial,Helvetica; } |
|
I can find only info about "aural style sheets" |
|
but these don't contain any way to specify the language. |
#3
| |||
| |||
|
|
I can find only info about "aural style sheets" which hardly have any implementation worth mentioning. |
#4
| |||
| |||
|
|
Hi, can't figure this one out, what's the CSS way to specify the language? |
#5
| |||
| |||
|
|
Jukka K. Korpela wrote: In theory, yes. In practice, few programs make any sensible use of language information. Screen readers do. |
#6
| |||
| |||
|
|
I can find only info about "aural style sheets" which hardly have any implementation worth mentioning. Opera on WinNT (W2K & XP) supports a good portion and useful set of aural CSS properties and values. |
#7
| |||
| |||
|
|
I can find only info about "aural style sheets" which hardly have any implementation worth mentioning. Opera on WinNT (W2K & XP) supports a good portion and useful set of aural CSS properties and values. You mean the CSS 2.0 aural style sheet properties, which are being phased out in the CSS 2.1 draft? |
|
While I can see some potential use for them in limited applications, like intranets where Opera is used for this very purpose, this does not seem useful in authoring for the WWW. There would be far too much work as compared with the small number of users who use Opera in a mode where aural style sheets might matter. In effect, I would regard the issue quite comparable to using purely browser-specific extension, for a minority browser. |
#8
| |||
| |||
|
|
"Johannes Koch" <koch (AT) w3development (DOT) de> wrote: Jukka K. Korpela wrote: In theory, yes. In practice, few programs make any sensible use of language information. Screen readers do. A few of them do, |
|
most in new versions only, |
|
and for a very limited set of languages. |
#9
| |||
| |||
|
|
"Jan Wagner" <no_spam (AT) thanks (DOT) net> wrote: As a pseudo example of what I'm looking for: set Finnish 'fi' for certain td's td.fi { lang: fi; font-family: Arial,Helvetica; } This postulates that you have <td class="fi"> in your markup. Why not use <td lang="fi"> instead? Well, you might have a reason to use _both_ a lang attribute _and_ a class attribute, since td.fi is well supported, td[lang="fi"] is very poorly supported at present. |
|
but these don't contain any way to specify the language. They are not supposed to. Language is an inherent property of text, not a casual suggestion on rendering. |
#10
| |||
| |||
|
|
"Johannes Koch" <koch (AT) w3development (DOT) de> wrote: Jukka K. Korpela wrote: In theory, yes. In practice, few programs make any sensible use of language information. Screen readers do. A few of them do, most in new versions only, and for a very limited set of languages. |
![]() |
| Thread Tools | |
| Display Modes | |
| |