W3C home > Mailing lists > Public > public-epub3@w3.org > December 2020

Re: EPUB Accessibility: Discovery of the Writing Direction (DRAFT 1.0)

From: Koji Ishii <kojiishi@gmail.com>
Date: Sat, 5 Dec 2020 20:28:54 +0900
Message-ID: <CAN9ydbXpXkytacD6qiAED+oDHJ4bhDivU7ftKcx3uDMOiggRoQ@mail.gmail.com>
To: Jens Tröger <jens.troeger@light-speed.de>
Cc: MURATA <eb2mmrt@gmail.com>, Ivan Herman <ivan@w3.org>, W3C EPUB3 Community Group <public-epub3@w3.org>, W3C Publishing Community Group <public-publishingcg@w3.org>, Richard Ishida <ishida@w3.org>, Florian Rivoal <florian@rivoal.net>
Maybe already answered but a few comments to questions from Jens:

2020年12月5日(土) 6:08 Jens Tröger <jens.troeger@light-speed.de>:

>
> And how does the `dir` global attribute fit in:
>
>    https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir


`dir` and `writing-mode` are similar to determine text flow, but are
different in that:

   1. The `dir` is semantic for bidirectional languages, hence it is
   defined in HTML. There is no, for example, Arabic in LTR.
   2. Vertical text flow is a stylish choice. A content can be styled
   either in horizontal or vertical. Hence it is defined in CSS.

And isn’t the writing direction implied by the language attribute (assuming
> metadata & content is marked correctly):
>
>
> https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang


As above, the default `dir` can be computed from `lang`, but `writing-mode`
is up to authors.
Received on Saturday, 5 December 2020 11:29:22 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 5 December 2020 11:29:22 UTC