W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 2016

How to conform to SC 3.1.2?

From: 上江洲梓 <uezu-azusa@mitsue.co.jp>
Date: Wed, 14 Dec 2016 18:33:40 +0900
To: <w3c-wai-ig@w3.org>
Message-ID: <01e601d255ed$29445580$7bcd0080$@mitsue.co.jp>
I would like to ask you the following question.

There are cases where the natural language for parts of content cannot be
specified in a format that is programmatically determined. Would a
multilingual content that are in a situation where the languages used cannot
be specified in a programmatically determinable way conform to SC 3.1.2?

For example, in the case of a p element, it is possible to specify the
language in programmatically determined way by writing HTML as below:

<p>He maintained that the DDR (German Democratic Republic) was just a '<span
lang="de" xml:lang="de">Treppenwitz der Weltgeschichte</span>'.</p>

(Example taken from
https://www.w3.org/TR/UNDERSTANDING-WCAG20/meaning-other-lang-id.html)

However, in elements such as title and img, it is not possible to do the
same as p element.

The examples below are not allowed as HTML Specification does not:

<title>He maintained that the DDR (German Democratic Republic) was just a
'<span lang="de" xml:lang="de">Treppenwitz der
Weltgeschichte</span>'.</title>

<p><img src="headline.png" alt="He maintained that the DDR (German
Democratic Republic) was just a '<span lang="de" xml:lang="de">Treppenwitz
der Weltgeschichte</span>'."></p>

Since the examples above are not allowed by HTML Specification, the
alternative approach would be to write as follows:

<title>He maintained that the DDR (German Democratic Republic) was just a
'Treppenwitz der Weltgeschichte'.</title>

<p><img src="headline.png" alt="He maintained that the DDR (German
Democratic Republic) was just a 'Treppenwitz der Weltgeschichte'."></p>

Would the approach presented above conform to SC 3.1.2?

--------------------
Azusa Uezu

Accessibility Engineer
Accessibility Division

Email : uezu-azusa@mitsue.co.jp

Mitsue-Links Co.,Ltd.
Sumitomo Fudosan Shinjyuku Grand Tower 33F
8-17-1 Nishi-Shinjuku Shinjuku-ku Tokyo 160-6133 Japan
--------------------
Received on Wednesday, 14 December 2016 09:40:07 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 14 December 2016 09:40:11 UTC