W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > January to March 2019

Re: Crowd Source Request: Examples of pre in pages you use.

From: John Foliot <john.foliot@deque.com>
Date: Wed, 30 Jan 2019 17:42:02 -0600
Message-ID: <CAKdCpxxBHsBagQeediTdxiM0KjxVDv3=_mu1wbNCy=-6pCGzQA@mail.gmail.com>
To: Wayne Dick <wayneedick@gmail.com>
Cc: GLWAI Guidelines WG org <w3c-wai-gl@w3.org>
Two examples when formatted text is important (if not critical):

Haiku: (a traditional form of Japanese poetry. Haiku poems consist of 3
lines. The first and last lines of a Haiku have 5 syllables and the middle
line has 7 syllables. The lines rarely rhyme.)

The summer river:
although there is a bridge, my horse
goes through the water.

Example of a Robert Service
<https://en.wikipedia.org/wiki/Robert_W._Service> poem
<https://mypoeticside.com/show-classic-poem-26688>: (This poem follows a
regular pattern of four-line stanzas composed of two rhyming couplets.)

On a Christmas Day we were mushing our way over the Dawson trail.
Talk of your cold! through the parka's fold it stabbed like a driven nail.
If our eyes we'd close, then the lashes froze till sometimes we couldn't
see;
It wasn't much fun, but the only one to whimper was Sam McGee.


In these examples, the formatting of the text also conveys the Pentameter
<https://literarydevices.net/pentameter/>of the rhymes/poems. Conveying
this literary device is wholly dependent on the formatting of the text:

(simulations:)

Haiku (2):
The summer river:
although there is a
bridge, my horse
goes through the
water.

Robert Service poem  (2):
On a Christmas
Day we were
mushing our
way over the
Dawson
trail.
Talk of your cold!
through the
parka's fold it
stabbed like a
driven nail.
If our eyes we'd
close,
then the lashes
froze till
sometimes we
couldn't
see;
It wasn't much
fun, but the only
one to whimper
was Sam McGee.

Granted, both of these examples are edge-cases, but the specific formatting
of the text in both is important enough that over-riding the <pre> on these
examples would materially impact both the value and even
understand-ability of the content.

JF


On Wed, Jan 30, 2019 at 4:58 PM Wayne Dick <wayneedick@gmail.com> wrote:

> Hi GLWAI
> Could people help me with examples of Pre code.
> You can also venture a judgement: Preformatting is necessary for meaning,
> or not.
>
> This is for brainstorming. What are the patterns for good and bad
> preformatting.
>
> Just send your example back in email.
>
> Wayne
>
>

-- 
*​John Foliot* | Principal Accessibility Strategist | W3C AC Representative
Deque Systems - Accessibility for Good
deque.com
Received on Wednesday, 30 January 2019 23:42:56 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 21:08:29 UTC