From laura.lee.carlson at gmail.com Thu Aug 7 16:58:28 2008
From: laura.lee.carlson at gmail.com (Laura Carlson)
Date: Thu, 7 Aug 2008 18:58:28 -0500
Subject: [html4all] Blog Post: This Week in HTML 5 - Episode 1 By Mark
Pilgrim
Message-ID: <1c8dbcaa0808071658v737924c8g75d81e0466f204f9@mail.gmail.com>
This Week in HTML 5 - Episode 1
By Mark Pilgrim
"Welcome to a new semi-regular column, 'This Week in HTML 5,' where
I'll try to summarize the major activity in the ongoing standards
process in the WHATWG and W3C HTML Working Group..."
http://blog.whatwg.org/this-week-in-html5-episode-1
--
Laura L. Carlson
From rob at robburns.com Sat Aug 16 02:08:12 2008
From: rob at robburns.com (Robert J Burns)
Date: Sat, 16 Aug 2008 12:08:12 +0300
Subject: [html4all] Object element support
Message-ID:
Hell 4all,
In another email, Leif raised the issue of OBJECT element support.
I've brought the conversation here to the public list for this topic.
I think the object element support is further along than most
appreciate. Last year I had put together some informal test pages to
see where the current state of support is:
* Test of sane default presentation of OBJECT element with no
attributes [1] (the closest to commonly available IMG use)
* Test of sane default presentation of OBJECT element with height and
width set explicitly [[2] (not necessary for IMG, but not really a
large burden for authoring with OBJECT)
My sense is that the second form (providing explicit pixel dimensions
either through the OBJECT height and width attribute or through CSS)
works in all current browsers, and probably goes back some distance
for historical browsers too (please correct me on that assumption if
I'm wrong).
Safari (even in its current form) has a problem with Quicktime handled
content that requires another otherwise needless complication from
authors (the addition of one parameter element with name/value pair
set to the same URL as the object element's data attribute). Maciej
says its a QuickTIme bug (Steve Jobs would be so proud of an Apple
employee passing the buck like that :-), but all the other browsers
handle this fine without the extra markup. Unfortunately I didn't
provide an example of this last document for testing, but I don't
think it breaks anything in other browsers and it definitely works in
Safari with the extra parameter element markup (the sample video and
audio files have been deleted from the archives I think).
Take care,
Rob
[1]:
[2]:
From lhs at malform.no Tue Aug 19 03:35:33 2008
From: lhs at malform.no (Leif Halvard Silli)
Date: Tue, 19 Aug 2008 12:35:33 +0200
Subject: [html4all] Object element support
In-Reply-To:
References:
Message-ID: <48AAA1F5.80501@malform.no>
Robert J Burns 2008-08-16 11.08:
> [...] I think the object element support is further along than
> most appreciate. Last year I had put together some informal
> test pages to see where the current state of support is: [...]
> [1]: [2]: is not parsed in a cross-browser compatible way
(parsing stops at the OBJECT, whereas other browsers continue
parsing all the fallback content and make it available. No support
for this parsing behavior is planned for IE8; I'll take this
opportunity to ask for real-world scenarios that can help me
prioritize this feature."
Some of your tests demonstrate how to use OBJECT with images, and
many have recommended OBJECT to be used even for plain images. For
a semantical comparison of those tests, let's look at an IMG with
@alt and @longdesc.
It strikes me that @alt and @longdesc represents *augementative*
authoring. The reader, if he wants, can opt for the more full
description in @longdesc. He is served a minimum, but can opt for
more if he wants. [2. See Jukka Korpela]
Whereas the OBJECT element, in its current shape and form,
represents the concept of 'graceful degradation'. Or if you wish;
The YGWYG = You Get What You Get principle.
As Joshue has said, it is *important* to be able to hide things
for screen readers. But this is close to impossile with the OBJECT.
Examples: To use
does not, unlike the @alt, close to guarantee that the text
equivalent is short. And if you do
then how is the user able to (a) know that the long text exists,
or to (b) select the long text if he knows it exists? [I don't
know, are screen reader software in general able to, technically
select the different nested OBJECTs?
Ideas and proposals:
I would like to know what the community think about this:
[markup]Long
[/markup]
The image would be displayed by default in all browsers (it works
fine, even in IE6). However, even the long text will by default
(in current User Agents) be displayed. I think such a method could
replace the proposed element. [3. HTML 5 Wiki.] Because, the
proposed ALT element is also, by default, visible, though most
authors would of course hide it. (Hiding the second OBJECT is
difficult in IE6, but there are workarounds, such as wrapping.)
I also think @longdesc could be allowed as a boolean. And that it
should be allowed in the OBJECT element. The meaning, as a
boolean, should be that the next OBJECT contains a long text
equivalent. (How @longdesc as boolean should work, needs to be
fleshed out more.) I think @longdesc is the most important thing
to ask for if we really want OBJECT to be used. For example then
one could do this:
In the prolongment of this proposal, I could imagine that all
elements for replaced content (video, audio, img) could contain
short text equivalents directly, like this:
Short text equivalent.
For example . And that the presence of
a boolean @longdesc would indicate the presence of an OBJECT with
fallback content. For example like this:
Longdesc should continue to take URLs, for long equivalents which
requires HTTP.
[1] See "Known issues we are not planning to change in IE8" in the
official Internet Explorer blog.
[2] Jukka Korpela on augmentative authoring:
[3] A Better alt, in the ESW Wiki:
--
leif halvard silli
From jason at jasonjgw.net Tue Aug 19 04:00:32 2008
From: jason at jasonjgw.net (Jason White)
Date: Tue, 19 Aug 2008 21:00:32 +1000
Subject: [html4all] Object element support
In-Reply-To: <48AAA1F5.80501@malform.no>
References:
<48AAA1F5.80501@malform.no>
Message-ID: <20080819110032.GA19723@jdc.jasonjgw.net>
On Tue, Aug 19, 2008 at 12:35:33PM +0200, Leif Halvard Silli wrote:
> The most obvious problem with OBJECT is not technical. It is
> semantical. For instance: Does OBJECT have a method for offering
> both a long and a short text equivalent?
The distinction between "long" and "short" text alternatives is really an
artifact of the poor design of the HTML IMG element. In XHTML 2.0, for
instance, we have:
Paragraph serving as an alternative.
Of course, if the author so desires, the alternative can include a link
referring to additional information. This is true of OBJECT as well:
(But then, why would be need @longdesc?)
> Some might argue that this isn't sufficient, since the user
> agent can't tell that the link refers to a textual alternative,
> and therefore cannot handle it specially. Whether this is a
It at least doesn't qualify as augmentative authoring!
> problem or not is debatable; I am not arguing the matter either
> way in this post. However, assuming that this is considered a
> problem worth addressing, I can think of several alternative
> solutions:
>
> a. To define the semantics of @title on OBJECT as serving the
> purpose of providing a short alternative.
Why would that be better than adding @longdesc to OBJECT?
> b. To use a suitable Aria role on the anchor () element, or
> to define a value of @role for this purpose in HTML. This
> assumes that @role finds its way into HTML, of course.
Does Aria offer differenciation between short and long description?
> c. To define so that the link can be
> identified as a long alternative to the object.
For use inside Object? Like this:
Short.
Link
Then you are also saying that the first fallback is naturally short.
However, what about this:
Short.
Link
Long.
Do you say that the presence of that link should be what makes
Internet Explorer "open up" the next Object?
> Doubtless there are other options. The fundamental question,
> though, is how important an issue this really is, and whether
> it is sufficiently significant to be defined in the spec, or
> whether it would be unlikely to be used by accessible user
> agents even if a mechanism were available.
By "this" I suppose you mean "being able to offer a short and a
long description". As Gregory has said: Sometimes you need a short
glimpse, other times you want to go into detail. I think this
without doubt is needed.
Do you not agree that if one provides a short and a long
description, then one should be able to author/read which is short
and which is long? A boolean @longesc would say "the first is
short".
--
leif halvard silli
From jason at jasonjgw.net Tue Aug 19 18:03:26 2008
From: jason at jasonjgw.net (Jason White)
Date: Wed, 20 Aug 2008 11:03:26 +1000
Subject: [html4all] Object element support
In-Reply-To: <48AAB247.7020902@malform.no>
References:
<48AAA1F5.80501@malform.no>
<20080819110032.GA19723@jdc.jasonjgw.net>
<48AAB247.7020902@malform.no>
Message-ID: <20080820010326.GA7419@jdc.jasonjgw.net>
On Tue, Aug 19, 2008 at 01:45:11PM +0200, Leif Halvard Silli wrote:
> That might be. But if so, then it seems to that it is a bug which
> has turned out to become a feature.
I'm not persuaded that it is a feature. Personally, I don't care about the
distinction between "short" and "long" alternatives, but only that there is an
alternative that adequately substitutes for the image.
>
> > Of course, if the author so desires, the alternative can
> > include a link referring to additional information. This is
> > true of OBJECT as well:
> >
> >
>
>
>
> (But then, why would be need @longdesc?)
The two cases are very different. In the OBJECT case, the fact that the link
is contained in the OBJECT element establishes that it is part of the
alternative to the image. In your IMG example, the link is not, and cannot be,
included in the IMG element without the use of @longdesc. Hence, the image and
the link are semantically unrelated so far as the markup is concerned,
whereas, by definition, the content of the OBJECT element serves as an
alternative to the resource referred to in @data.
> > However, assuming that this is considered a
> > problem worth addressing, I can think of several alternative
> > solutions:
> >
> > a. To define the semantics of @title on OBJECT as serving the
> > purpose of providing a short alternative.
>
> Why would that be better than adding @longdesc to OBJECT?
OBJECT already supports block-level content. The only reason for creating
@longdesc in the first place was that IMG didn't support inline or block-level
content. Since OBJECT doesn't have this design shortcoming, there is no need
for @longdesc, and including it would create a lot of confusion regarding how
to treat block-level content vs. the resource referred to by @longdesc.
>
> > c. To define so that the link can be
> > identified as a long alternative to the object.
>
>
> For use inside Object? Like this:
>
> Short.
> Link
>
>
>
>
> Then you are also saying that the first fallback is naturally short.
No, this is precisely what I am not saying. The fallback can be inline or
block-level, and as long as the author wishes it to be. However, if the author
wants to provide only a brief alternative in the text as a substitute for the
image, and more detail separately which the user can access, then it is
possible to do so by means of a link.
The IMG element forces a distinction between "short" and "long" alternatives.
OBJECT has the advantage, in its design, of not doing so. If I want to provide
a table as an alternative to a chart, I can do so without having to create a
separate page and using a link or @longdesc, provided that I use OBJECT rather
than IMG.
This is an advantage of OBJECT over IMG, and has long been acknowledged as
such.
From rob at robburns.com Wed Aug 20 02:08:06 2008
From: rob at robburns.com (Robert J Burns)
Date: Wed, 20 Aug 2008 12:08:06 +0300
Subject: [html4all] Object element support
In-Reply-To: <20080820010326.GA7419@jdc.jasonjgw.net>
References:
<48AAA1F5.80501@malform.no>
<20080819110032.GA19723@jdc.jasonjgw.net>
<48AAB247.7020902@malform.no>
<20080820010326.GA7419@jdc.jasonjgw.net>
Message-ID: <559339D8-BDD7-4DF2-9F4F-F9A397FF771A@robburns.com>
Hi Jason, Leif and all,
On Aug 20, 2008, at 4:03 AM, Jason White wrote:
> On Tue, Aug 19, 2008 at 01:45:11PM +0200, Leif Halvard Silli wrote:
>
>> That might be. But if so, then it seems to that it is a bug which
>> has turned out to become a feature.
>
> I'm not persuaded that it is a feature. Personally, I don't care
> about the
> distinction between "short" and "long" alternatives, but only that
> there is an
> alternative that adequately substitutes for the image.
>>
>>> Of course, if the author so desires, the alternative can
>>> include a link referring to additional information. This is
>>> true of OBJECT as well:
>>>
>>>
>>
>>
>>
>> (But then, why would be need @longdesc?)
>
> The two cases are very different. In the OBJECT case, the fact that
> the link
> is contained in the OBJECT element establishes that it is part of the
> alternative to the image. In your IMG example, the link is not, and
> cannot be,
> included in the IMG element without the use of @longdesc. Hence, the
> image and
> the link are semantically unrelated so far as the markup is concerned,
> whereas, by definition, the content of the OBJECT element serves as an
> alternative to the resource referred to in @data.
>
>>> However, assuming that this is considered a
>>> problem worth addressing, I can think of several alternative
>>> solutions:
>>>
>>> a. To define the semantics of @title on OBJECT as serving the
>>> purpose of providing a short alternative.
>>
>> Why would that be better than adding @longdesc to OBJECT?
>
> OBJECT already supports block-level content. The only reason for
> creating
> @longdesc in the first place was that IMG didn't support inline or
> block-level
> content. Since OBJECT doesn't have this design shortcoming, there is
> no need
> for @longdesc, and including it would create a lot of confusion
> regarding how
> to treat block-level content vs. the resource referred to by
> @longdesc.
>>
>>> c. To define so that the link can be
>>> identified as a long alternative to the object.
>>
>>
>> For use inside Object? Like this:
>>
>> Short.
>> Link
>>
>>
>>
>>
>> Then you are also saying that the first fallback is naturally short.
>
> No, this is precisely what I am not saying. The fallback can be
> inline or
> block-level, and as long as the author wishes it to be. However, if
> the author
> wants to provide only a brief alternative in the text as a
> substitute for the
> image, and more detail separately which the user can access, then it
> is
> possible to do so by means of a link.
>
> The IMG element forces a distinction between "short" and "long"
> alternatives.
> OBJECT has the advantage, in its design, of not doing so. If I want
> to provide
> a table as an alternative to a chart, I can do so without having to
> create a
> separate page and using a link or @longdesc, provided that I use
> OBJECT rather
> than IMG.
>
> This is an advantage of OBJECT over IMG, and has long been
> acknowledged as
> such.
I really think we should get away from the short / long distinction. I
would prefer to say that the IMG element forces a distinction between
plaint text (and fairly easy to author) and rich markup text (and a
little more cumbersome to author). On the other hand, OBJECT (and
XHTML2 IMG) does not force this distinction. The length doesn't
matter. The alt text should be whatever length is needed to serve as
the alternate for the embedded media.
However, I think longdesc (and to a certain extent aria-describedby)
provides another function that is useful beyond solving the problems
of the text/html IMG element. That is providing a form of text
equivalent for non-text media that is different from the alt text
(that within the contents of the element or the value of the alt
attribute). That is it can serve as a way to provide a description of
the media that supplements the alt text. This is a distinction that I
think is at the heart of this controversy over Flickr and alt text.
As an example I ran across this blog page[1]. About midway down the
page is a photograph marked up with a figure and a caption (actually
with div elements but used in the same way as HTML5 proposes) and the
caption includes the text:
"Coal power plant. Coal is still dominant energy source for
electricity production in US. Click on picture for full size."
The photo is marked up with alt=''
The picture is of a coal power plant silhouetted along a waterway with
the dusk sunset (or dawn sunrise) in the background. The plant is
spewing smoke and steam into the air and we can see the conveyor that
delivers coal to the plant.
My contention is that the description I just gave in the previous
paragraph would be suitably referenced from the longdesc attribute
(whether from IMG, OBJECT or any other embedding element). I feel that
such text is not necessarily suitable for the alt attribute or as the
contents of an OBJECT element because the reader loses nothing by
missing the photograph and simply reading the caption. However, it
would be a valuable service to users unable to consume the image to
provide such a description in referenced by the longdesc attribute.
So to me such text does not qualify as alt text and does not have the
same urgent status as the alt text and so should not be treated the
same by HTML5. For example, we shouldn't necessarily require such text
when it isn't integral to comprehending the document/page. Instead we
should have alt text and we should have another mechanism for further
text equivalent (especially for photographs) that is available (but
not required) for those authors who go beyond the bare minimum of
requirements. I note also that this example is contrary to Ian's claim
that if the text is needed it should be provided to everyone in the
caption. Those of us looking at the photograph do not want to read
that description. So there are three types of text here: 1) alt text;
2) caption text; and 3) descriptive text equivalent. But we've been
trying to make these three types of text fit into two categories which
contributes to the confusion of authors regarding suitable alt text.
I'm curious to here others thoughts on this.
Take care,
Rob
[1]:
From lhs at malform.no Wed Aug 20 04:13:54 2008
From: lhs at malform.no (Leif Halvard Silli)
Date: Wed, 20 Aug 2008 13:13:54 +0200
Subject: [html4all] Object element support
In-Reply-To: <20080820010326.GA7419@jdc.jasonjgw.net>
References: <48AAA1F5.80501@malform.no> <20080819110032.GA19723@jdc.jasonjgw.net> <48AAB247.7020902@malform.no>
<20080820010326.GA7419@jdc.jasonjgw.net>
Message-ID: <48ABFC72.4090703@malform.no>
Jason White 2008-08-20 03.03:
> On Tue, Aug 19, 2008 at 01:45:11PM +0200, Leif Halvard Silli wrote:
>
>> That might be. But if so, then it seems to that it is a bug which
>> has turned out to become a feature.
>
> I'm not persuaded that it is a feature. Personally, I don't care about the
> distinction between "short" and "long" alternatives, but only that there is an
> alternative that adequately substitutes for the image.
Rob's reply had me thinking that what I dubbed as short vs long,
should perhaps rather be seen as "plain text, likely quite short"
versus "markup, optionally long".
The thing is: You have some preknowledge about what the @alt text
is - its quality. You, in fact, also know that the @longdesc
resource is adequate for non-sighted readers, because its purpose
is to cater for those who can't access the image as image - for
whatever reaason (technical or otherwise).
Wheras for OBJECT, how do you know for whom the alternative(s)
is/are made? There is no such guarantee.
>> > Of course, if the author so desires, the alternative can
>> > include a link referring to additional information. This is
>> > true of OBJECT as well:
>> >
>> >
>>
>> (But then, why would be need @longdesc?)
>
> The two cases are very different. In the OBJECT case, the fact that the link
> is contained in the OBJECT element establishes that it is part of the
> alternative to the image. In your IMG example, the link is not, and cannot be,
> included in the IMG element without the use of @longdesc. Hence, the image and
> the link are semantically unrelated so far as the markup is concerned,
> whereas, by definition, the content of the OBJECT element serves as an
> alternative to the resource referred to in @data.
I don't subscribe to "semantically unrelated" - how can you know
that? However, I agree that there is nothing which
formally/technically binds the link to the precedign IMG, and thus
neither is the target of the link formally connected to the IMG.
As for your interpretation of the link within the OBJECT, I
disagree there as well. Because, what make the nested OBJECT
related to the parent OBJECT, is the fact that it is nested, and
the fact that nested OBJECTs are defined in HTML 4 as being
alternatives.
>> > However, assuming that this is considered a
>> > problem worth addressing, I can think of several alternative
>> > solutions:
>> >
>> > a. To define the semantics of @title on OBJECT as serving the
>> > purpose of providing a short alternative.
>>
>> Why would that be better than adding @longdesc to OBJECT?
>
> OBJECT already supports block-level content. The only reason for creating
> @longdesc in the first place was that IMG didn't support inline or block-level
> content. Since OBJECT doesn't have this design shortcoming, there is no need
> for @longdesc, and including it would create a lot of confusion regarding how
> to treat block-level content vs. the resource referred to by @longdesc.
But @title also has defined meanings. I know of no other case were
@title isn't supposed to be some kind of a title. (And, if, as you
say, there is no need for short vs long, there would be no need
for it either.)
I am lost with regarod to your point about "confusion".
Also, @longdesc /is/ a link. That is why proposed it.
>> > c. To define so that the link can be
>> > identified as a long alternative to the object.
>>
>>
>> For use inside Object? Like this:
>>
>> Short.
>> Link
>>
>>
>> Then you are also saying that the first fallback is naturally short.
>
> No, this is precisely what I am not saying.
Sorry, 'you are saying' was supposed to mean 'one are saying'.
> The fallback can be inline or
> block-level, and as long as the author wishes it to be. However, if the author
> wants to provide only a brief alternative in the text as a substitute for the
> image, and more detail separately which the user can access, then it is
> possible to do so by means of a link.
>
> The IMG element forces a distinction between "short" and "long" alternatives.
> OBJECT has the advantage, in its design, of not doing so. If I want to provide
> a table as an alternative to a chart, I can do so without having to create a
> separate page and using a link or @longdesc, provided that I use OBJECT rather
> than IMG.
>
> This is an advantage of OBJECT over IMG, and has long been acknowledged as
> such.
There is no disagreement between us regarding the advantage of
being able to insert mark-up as fallback in the OBJECT.
But as you know, limitatations are not always bad. They can
sometime force us to do some good things which otherwise perhaps
would not have come naturally - make us creative. So, e.g. if I
run an IMG without an @alt in the validator, then it cries.
Whereas if I insert an OBJECT without a fallback, then there is no
cries, not even a warning. And I can even let a flash movie fall
back to QuickTime instead of text. And still no cries.
Clearly, if the question of fallback was linked to @role rather
than the kind of element - IMG or OBJECT in this case, then the
validator could prompt for the addition of textual fallback
(markup or plain text - how about MathML, screen readers ... ?).
But even then, there would have to be rules for what to place
there. And how to place it. And how the user should get/select/be
served /his/ fallback. (How do you place a link to the textual
fallback in a QuickTime movie?) Today, following the rule of
'graceful degradation', an OBJECT with a movie would contain
"advanced movie format" in the first OBJECT, and a "not so
advanced movie format" would come in the second OBJECT. Then
perhaps you'd find plain text/markup in the third level. But
perhaps the text level fallback should come in the second level?
Also, here is a nuisance: What should happen if the OBJECT is a
movie, and the fallback is markup in the form of an IMG element,
and then - in adddition, a second OBJECT has textual fallback?
mark-up
We would then get two conflicting fallback-regimes: That of the
IMG and that of the OBJECT. It cold at least end up very
confusing. Perhaps the screen reader would read the @alt, and miss
the presence of "a better alt" in the nested OBJECT? What should
the rules for the use of IMG inside OBJECT be?
The combination of IMG, @alt, @longdesc, is like a microformat
that has developed over time, with quite firm rules. OBJECT might
be superior. But this has not been put into practise. As massive
jump to OBJECT could have lead to a drop in accessibility due to
lack of actual, practical advice and tradition (that authors are
aware of) for how to use it.
--
leif halvard silli
From lhs at malform.no Wed Aug 20 04:21:48 2008
From: lhs at malform.no (Leif Halvard Silli)
Date: Wed, 20 Aug 2008 13:21:48 +0200
Subject: [html4all] Object element support
In-Reply-To: <559339D8-BDD7-4DF2-9F4F-F9A397FF771A@robburns.com>
References: <48AAA1F5.80501@malform.no> <20080819110032.GA19723@jdc.jasonjgw.net> <48AAB247.7020902@malform.no> <20080820010326.GA7419@jdc.jasonjgw.net>
<559339D8-BDD7-4DF2-9F4F-F9A397FF771A@robburns.com>
Message-ID: <48ABFE4C.2000107@malform.no>
Robert J Burns 2008-08-20 11.08:
[...]
>> This is an advantage of OBJECT over IMG, and has long been
>> acknowledged as such.
>
> I really think we should get away from the short / long distinction. I
> would prefer to say that the IMG element forces a distinction between
> plaint text (and fairly easy to author) and rich markup text (and a
> little more cumbersome to author). On the other hand, OBJECT (and
> XHTML2 IMG) does not force this distinction. The length doesn't
> matter. The alt text should be whatever length is needed to serve as
> the alternate for the embedded media.
Forced or not, is it good for the reader to be able to know there
is a distinction?
OBJECT doesn't force /any/ distinction. And has no minimum
requirements. The fallback for a movie need not be neither plain
text nor markup - it could be a slide show.
--
leif halvard silli
From rob at robburns.com Wed Aug 20 04:46:07 2008
From: rob at robburns.com (Robert J Burns)
Date: Wed, 20 Aug 2008 14:46:07 +0300
Subject: [html4all] Object element support
In-Reply-To: <48ABFC72.4090703@malform.no>
References: <48AAA1F5.80501@malform.no> <20080819110032.GA19723@jdc.jasonjgw.net> <48AAB247.7020902@malform.no>
<20080820010326.GA7419@jdc.jasonjgw.net>
<48ABFC72.4090703@malform.no>
Message-ID: <342A4D0B-1D95-45CC-9216-92651ABB49EA@robburns.com>
Hi Leif,
On Aug 20, 2008, at 2:13 PM, Leif Halvard Silli wrote:
> Jason White 2008-08-20 03.03:
>
>> On Tue, Aug 19, 2008 at 01:45:11PM +0200, Leif Halvard Silli wrote:
>>
>>> That might be. But if so, then it seems to that it is a bug which
>>> has turned out to become a feature.
>>
>> I'm not persuaded that it is a feature. Personally, I don't care
>> about the
>> distinction between "short" and "long" alternatives, but only that
>> there is an
>> alternative that adequately substitutes for the image.
>
>
> Rob's reply had me thinking that what I dubbed as short vs long,
> should perhaps rather be seen as "plain text, likely quite short"
> versus "markup, optionally long".
Even this doesn't get to the distinction that I'm trying to make. Take
XHTML2 as an example. In XHTML2 all embedded media elements include
the possibility of rich markup text in their own element contents (no
need for an alt attribute). However, there is still a need for a
separate kind of text equivalent (usually facilitated by the longdesc
attribute) that is for description that is not alt text. In other
words in XHTML2 (if it included a longdesc or aria:describedby
attribute) could provide 1) alt text as a replacement for in-
consumable non-text media and 2) a textual description for a more
detailed subject or visual description of that media not necessarily
as integral to the comprehension of the document as the alt text.
Now in this example, either can be long or short and either can be
plain text or marked up text. The distinction is not about that, but
rather how integral is this equivalent text to comprehending the
document. I hope that helps clear up the distinction I'm trying to
make. I think making a document truly accessible involves adding
either or both of these text equivalents.
>
>
> The thing is: You have some preknowledge about what the @alt text
> is - its quality. You, in fact, also know that the @longdesc
> resource is adequate for non-sighted readers, because its purpose
> is to cater for those who can't access the image as image - for
> whatever reaason (technical or otherwise).
>
> Wheras for OBJECT, how do you know for whom the alternative(s)
> is/are made? There is no such guarantee.
>
>
>>>> Of course, if the author so desires, the alternative can
>>>> include a link referring to additional information. This is
>>>> true of OBJECT as well:
>>>>
>>>>
>>>
>>> (But then, why would be need @longdesc?)
>>
>> The two cases are very different. In the OBJECT case, the fact that
>> the link
>> is contained in the OBJECT element establishes that it is part of the
>> alternative to the image. In your IMG example, the link is not, and
>> cannot be,
>> included in the IMG element without the use of @longdesc. Hence,
>> the image and
>> the link are semantically unrelated so far as the markup is
>> concerned,
>> whereas, by definition, the content of the OBJECT element serves as
>> an
>> alternative to the resource referred to in @data.
>
>
> I don't subscribe to "semantically unrelated" - how can you know
> that? However, I agree that there is nothing which
> formally/technically binds the link to the precedign IMG, and thus
> neither is the target of the link formally connected to the IMG.
>
>
>
> As for your interpretation of the link within the OBJECT, I
> disagree there as well. Because, what make the nested OBJECT
> related to the parent OBJECT, is the fact that it is nested, and
> the fact that nested OBJECTs are defined in HTML 4 as being
> alternatives.
>
>>>> However, assuming that this is considered a
>>>> problem worth addressing, I can think of several alternative
>>>> solutions:
>>>>
>>>> a. To define the semantics of @title on OBJECT as serving the
>>>> purpose of providing a short alternative.
>>>
>>> Why would that be better than adding @longdesc to OBJECT?
>>
>> OBJECT already supports block-level content. The only reason for
>> creating
>> @longdesc in the first place was that IMG didn't support inline or
>> block-level
>> content. Since OBJECT doesn't have this design shortcoming, there
>> is no need
>> for @longdesc, and including it would create a lot of confusion
>> regarding how
>> to treat block-level content vs. the resource referred to by
>> @longdesc.
>
> But @title also has defined meanings. I know of no other case were
> @title isn't supposed to be some kind of a title. (And, if, as you
> say, there is no need for short vs long, there would be no need
> for it either.)
>
> I am lost with regarod to your point about "confusion".
>
> Also, @longdesc /is/ a link. That is why proposed it.
>
>>>> c. To define so that the link can be
>>>> identified as a long alternative to the object.
>>>
>>>
>>> For use inside Object? Like this:
>>>
>>> Short.
>>> Link
>>>
>>>
>>> Then you are also saying that the first fallback is naturally short.
>>
>> No, this is precisely what I am not saying.
>
>
> Sorry, 'you are saying' was supposed to mean 'one are saying'.
>
>> The fallback can be inline or
>> block-level, and as long as the author wishes it to be. However, if
>> the author
>> wants to provide only a brief alternative in the text as a
>> substitute for the
>> image, and more detail separately which the user can access, then
>> it is
>> possible to do so by means of a link.
>>
>> The IMG element forces a distinction between "short" and "long"
>> alternatives.
>> OBJECT has the advantage, in its design, of not doing so. If I want
>> to provide
>> a table as an alternative to a chart, I can do so without having to
>> create a
>> separate page and using a link or @longdesc, provided that I use
>> OBJECT rather
>> than IMG.
>>
>> This is an advantage of OBJECT over IMG, and has long been
>> acknowledged as
>> such.
>
> There is no disagreement between us regarding the advantage of
> being able to insert mark-up as fallback in the OBJECT.
>
> But as you know, limitatations are not always bad. They can
> sometime force us to do some good things which otherwise perhaps
> would not have come naturally - make us creative. So, e.g. if I
> run an IMG without an @alt in the validator, then it cries.
> Whereas if I insert an OBJECT without a fallback, then there is no
> cries, not even a warning. And I can even let a flash movie fall
> back to QuickTime instead of text. And still no cries.
>
> Clearly, if the question of fallback was linked to @role rather
> than the kind of element - IMG or OBJECT in this case, then the
> validator could prompt for the addition of textual fallback
> (markup or plain text - how about MathML, screen readers ... ?).
>
> But even then, there would have to be rules for what to place
> there. And how to place it. And how the user should get/select/be
> served /his/ fallback. (How do you place a link to the textual
> fallback in a QuickTime movie?) Today, following the rule of
> 'graceful degradation', an OBJECT with a movie would contain
> "advanced movie format" in the first OBJECT, and a "not so
> advanced movie format" would come in the second OBJECT. Then
> perhaps you'd find plain text/markup in the third level. But
> perhaps the text level fallback should come in the second level?
>
> Also, here is a nuisance: What should happen if the OBJECT is a
> movie, and the fallback is markup in the form of an IMG element,
> and then - in adddition, a second OBJECT has textual fallback?
>
>
>
>
mark-up
>
>
> We would then get two conflicting fallback-regimes: That of the
> IMG and that of the OBJECT. It cold at least end up very
> confusing. Perhaps the screen reader would read the @alt, and miss
> the presence of "a better alt" in the nested OBJECT? What should
> the rules for the use of IMG inside OBJECT be?
>
> The combination of IMG, @alt, @longdesc, is like a microformat
> that has developed over time, with quite firm rules. OBJECT might
> be superior. But this has not been put into practise. As massive
> jump to OBJECT could have lead to a drop in accessibility due to
> lack of actual, practical advice and tradition (that authors are
> aware of) for how to use it.
I think you raise some good points here, especially regarding the
OBJECT element's fallback and validator/conformance checking. Your
example convinces me that we should require some significant text
within the object element when the role keyword prescribes it.
Otherwise we do lose the accessibility awareness raising benefits of
the alt attribute.
However, I don't think the use of the OBJECT element is as complicated
as you're making it out here. In other words the fallback semantics
are very well defined. So in your example:
>
>
>
mark-up
>
the IMG element element does not serve as another fallback level.
Rather both the IMG and the second OBJECT together form the fallback
for the initial OBJECT. Their can only be one fallback level once the
contents of an object includes anything other than an OBJECT or a
PARAM element. Your construction doesn't cause a validator flag, but I
think if definitely should. Or perhaps even two validator flags, one
because an OBJECT is included in the ultimate text fallback and also
because the IMG (another non-text media element) is included in the
ultimate text fallback of the OBJECT element. So the way OBJECT is
supposed to work (and maybe you're saying that the HTML 4.01
recommendation doesn't make this clear enough) is that the OBJECT
element can only contain 1) any number of PARAM child elements
followed by one OBJECT element or 2) any number of PARM elements
followed by FLOW content (but no OBJECT element).
I'll have to take a look at HTML 4.01 to see if this is explicit, but
HTML5 should definitely make this clear.
Take care,
Rob
From lhs at malform.no Wed Aug 20 05:35:13 2008
From: lhs at malform.no (Leif Halvard Silli)
Date: Wed, 20 Aug 2008 14:35:13 +0200
Subject: [html4all] Object element support
In-Reply-To: <342A4D0B-1D95-45CC-9216-92651ABB49EA@robburns.com>
References: <48AAA1F5.80501@malform.no> <20080819110032.GA19723@jdc.jasonjgw.net> <48AAB247.7020902@malform.no> <20080820010326.GA7419@jdc.jasonjgw.net> <48ABFC72.4090703@malform.no>
<342A4D0B-1D95-45CC-9216-92651ABB49EA@robburns.com>
Message-ID: <48AC0F81.7060908@malform.no>
Robert J Burns 2008-08-20 13.46:
> Hi Leif,
>
> On Aug 20, 2008, at 2:13 PM, Leif Halvard Silli wrote:
>
>> Jason White 2008-08-20 03.03:
>>
>>> On Tue, Aug 19, 2008 at 01:45:11PM +0200, Leif Halvard Silli wrote:
>>>
>>>> That might be. But if so, then it seems to that it is a bug which
>>>> has turned out to become a feature.
>>>
>>> I'm not persuaded that it is a feature. Personally, I don't care
>>> about the
>>> distinction between "short" and "long" alternatives, but only that
>>> there is an
>>> alternative that adequately substitutes for the image.
>>
>>
>> Rob's reply had me thinking that what I dubbed as short vs long,
>> should perhaps rather be seen as "plain text, likely quite short"
>> versus "markup, optionally long".
>
> Even this doesn't get to the distinction that I'm trying to make. Take
> XHTML2 as an example. In XHTML2 all embedded media elements include
> the possibility of rich markup text in their own element contents (no
> need for an alt attribute). However, there is still a need for a
> separate kind of text equivalent (usually facilitated by the longdesc
> attribute) that is for description that is not alt text. In other
Are you saying that @longdesc is used more or less as I proposed
in XHTML 2? Or, at least, that they have extended its use there?
> words in XHTML2 (if it included a longdesc or aria:describedby
> attribute) could provide 1) alt text as a replacement for in-
> consumable non-text media and 2) a textual description for a more
> detailed subject or visual description of that media not necessarily
> as integral to the comprehension of the document as the alt text.
>
> Now in this example, either can be long or short and either can be
> plain text or marked up text. The distinction is not about that, but
> rather how integral is this equivalent text to comprehending the
> document. I hope that helps clear up the distinction I'm trying to
> make. I think making a document truly accessible involves adding
> either or both of these text equivalents.
If you say that e.g. OBJECT should have a rquirement of a textual
fallabk, in a validate-able way, then we are en route.
[... snipped my OBJECT fallback problem description ... ]
> I think you raise some good points here, especially regarding the
> OBJECT element's fallback and validator/conformance checking. Your
> example convinces me that we should require some significant text
> within the object element when the role keyword prescribes it.
> Otherwise we do lose the accessibility awareness raising benefits of
> the alt attribute.
Good to know.
> However, I don't think the use of the OBJECT element is as complicated
> as you're making it out here. In other words the fallback semantics
> are very well defined. So in your example:
>
>>
>>
>>
mark-up
>>
>
>
> the IMG element element does not serve as another fallback level.
> Rather both the IMG and the second OBJECT together form the fallback
> for the initial OBJECT. Their can only be one fallback level once the
> contents of an object includes anything other than an OBJECT or a
> PARAM element.
Hm. So, in that case, the nested OBJECT would instantiate an
independent, /new/ OBJECT with its own fallback treatment,
independent form the top-level OBJECt, then I guess:
Fallback for 'another movie', which again is
fallback for one-movie.
But this, then -- again -- illustrates how the fallback of OBJECT
isn't geared at screen readers, as the fallback itself can contain
both text and movies, simultanously.
> Your construction doesn't cause a validator flag, but I
> think if definitely should. Or perhaps even two validator flags, one
> because an OBJECT is included in the ultimate text fallback and also
> because the IMG (another non-text media element) is included in the
> ultimate text fallback of the OBJECT element. So the way OBJECT is
> supposed to work (and maybe you're saying that the HTML 4.01
> recommendation doesn't make this clear enough) is that the OBJECT
> element can only contain 1) any number of PARAM child elements
> followed by one OBJECT element or 2) any number of PARM elements
> followed by FLOW content (but no OBJECT element).
>
> I'll have to take a look at HTML 4.01 to see if this is explicit, but
> HTML5 should definitely make this clear.
Must give this more thought. But I feel what you say suppports
what I've said about how OBJECT is lacking an actual description
of how it, in the "real world", is going to be used. There is to
much high level "it is superior" thinking going on, without
looking at the details of how it should be used, is my view.
--
leif halvard silli
From rob at robburns.com Wed Aug 20 15:49:28 2008
From: rob at robburns.com (Robert J Burns)
Date: Thu, 21 Aug 2008 01:49:28 +0300
Subject: [html4all] Object element support
In-Reply-To: <48AC0F81.7060908@malform.no>
References: <48AAA1F5.80501@malform.no> <20080819110032.GA19723@jdc.jasonjgw.net> <48AAB247.7020902@malform.no> <20080820010326.GA7419@jdc.jasonjgw.net> <48ABFC72.4090703@malform.no>
<342A4D0B-1D95-45CC-9216-92651ABB49EA@robburns.com>
<48AC0F81.7060908@malform.no>
Message-ID:
Hi Leif,
On Aug 20, 2008, at 3:35 PM, Leif Halvard Silli wrote:
> Robert J Burns 2008-08-20 13.46:
>>
>> On Aug 20, 2008, at 2:13 PM, Leif Halvard Silli wrote:
>>
>> However, I don't think the use of the OBJECT element is as
>> complicated
>> as you're making it out here. In other words the fallback semantics
>> are very well defined. So in your example:
>>
>>>
>>>
>>>
mark-up
>>>
>>
>>
>> the IMG element element does not serve as another fallback level.
>> Rather both the IMG and the second OBJECT together form the fallback
>> for the initial OBJECT. Their can only be one fallback level once the
>> contents of an object includes anything other than an OBJECT or a
>> PARAM element.
>
>
>
> Hm. So, in that case, the nested OBJECT would instantiate an
> independent, /new/ OBJECT with its own fallback treatment,
> independent form the top-level OBJECt, then I guess:
>
>
>
>
>
> Fallback for 'another movie', which again is
> fallback for one-movie.
>
>
>
> But this, then -- again -- illustrates how the fallback of OBJECT
> isn't geared at screen readers, as the fallback itself can contain
> both text and movies, simultanously.
Well it is still geared at screen readers as long as each bit of
embedded non-text media has some text fallback. In your example
everything is covered in terms of alt text / text equivalents.
>
>
>> Your construction doesn't cause a validator flag, but I
>> think if definitely should. Or perhaps even two validator flags, one
>> because an OBJECT is included in the ultimate text fallback and also
>> because the IMG (another non-text media element) is included in the
>> ultimate text fallback of the OBJECT element. So the way OBJECT is
>> supposed to work (and maybe you're saying that the HTML 4.01
>> recommendation doesn't make this clear enough) is that the OBJECT
>> element can only contain 1) any number of PARAM child elements
>> followed by one OBJECT element or 2) any number of PARM elements
>> followed by FLOW content (but no OBJECT element).
>>
>> I'll have to take a look at HTML 4.01 to see if this is explicit, but
>> HTML5 should definitely make this clear.
>
> Must give this more thought. But I feel what you say suppports
> what I've said about how OBJECT is lacking an actual description
> of how it, in the "real world", is going to be used. There is to
> much high level "it is superior" thinking going on, without
> looking at the details of how it should be used, is my view.
Yeah, I think you're partially right. I took a look at the HTML 4.01
prose[1] and DTD[2] and the DTD fails to give unambiguous normative
guidance on precisely how this should work. The prose on the other
hand do explain it, but there could still be some ambiguities that I'm
missing. It doesn't have the normative language that the HTML5 draft
should include. It should be made clear that every object element
should include an ultimate fallback object element containing FLOW
content minus any other embedded non-text media elements. (IMG,
CANVAS, APPLET, EMBED, VIDEO, AUDIO, OBJECT).
I think your example is still a bit unorthodox however, since normally
the content model should be (PARAM* , OBJECT) or (PARAM* , (&flow;)* -
[embedded media elements]). In other words either object fallback or
flow fallback with no embedding. I think the conformance checker
should check for this. And in cases other than role='decorative', the
conformance checker should throw errors for missing text fallback (or
throw warning for role='photo').
BTW, further reflection on your earlier quote form the Microsoft IE
Blog[3], leaves me a little stunned if this is actually true. Does
anyone have IE (any version) handy to test this? As Leif quoted earlier:
" is not parsed in a cross-browser compatible way (parsing
stops at the OBJECT, whereas other browsers continue parsing all the
fallback content and make it available. No support for this parsing
behavior is planned for IE8; I'll take this opportunity to ask for
real-world scenarios that can help me prioritize this feature."
I find it hard to believe that the content of the OBJECT element are
not parsed. Is it simply thrown away? Is it added to the DOM as plain
text? Or does it mean that the more sophisticated fallback mechanism
enabled by the OBJECT element is not supported so that IE simply
handles only the first embedded content and ignores the remaining
content. Does IE have a DOM browser like the other browsers? I guess
you could always view it at Hixie's DOM viewer[4]. If the tree of
OBJECT elements is shown properly nested with the fallback text in a
text node within the second object than the IE blog entry is incorrect.
Take care,
Rob
[1]:
[2]:
[3]: See "Known issues we are not planning to change in IE8" in the
official Internet Explorer blog.
[4]:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wilbur.bytowninternet.com/pipermail/list_html4all.org/attachments/20080821/6600323a/attachment.html
From lhs at malform.no Wed Aug 20 20:15:47 2008
From: lhs at malform.no (Leif Halvard Silli)
Date: Thu, 21 Aug 2008 05:15:47 +0200
Subject: [html4all] Object element support
In-Reply-To:
References: <48AAA1F5.80501@malform.no> <20080819110032.GA19723@jdc.jasonjgw.net> <48AAB247.7020902@malform.no> <20080820010326.GA7419@jdc.jasonjgw.net> <48ABFC72.4090703@malform.no> <342A4D0B-1D95-45CC-9216-92651ABB49EA@robburns.com> <48AC0F81.7060908@malform.no>
Message-ID: <48ACDDE3.3060306@malform.no>
Robert J Burns 2008-08-21 00.49:
> On Aug 20, 2008, at 3:35 PM, Leif Halvard Silli wrote:
>>
>>
>>
>>
>> Fallback for 'another movie', which again is
>> fallback for one-movie.
>>
>>
>>
>> But this, then -- again -- illustrates how the fallback of OBJECT
>> isn't geared at screen readers, as the fallback itself can contain
>> both text and movies, simultanously.
>
> Well it is still geared at screen readers as long as each bit of
> embedded non-text media has some text fallback. In your example
> everything is covered in terms of alt text / text equivalents.
So you don't hink a validator should OK this?
>> Must give this more thought. But I feel what you say suppports
>> what I've said about how OBJECT is lacking an actual description
>> of how it, in the "real world", is going to be used. There is to
>> much high level "it is superior" thinking going on, without
>> looking at the details of how it should be used, is my view.
>
> Yeah, I think you're partially right. I took a look at the HTML 4.01
> prose[1] and DTD[2] and the DTD fails to give unambiguous normative
> guidance on precisely how this should work. The prose on the other hand
> do explain it, but there could still be some ambiguities that I'm
> missing. It doesn't have the normative language that the HTML5 draft
> should include. It should be made clear that every object element should
> include an ultimate fallback object element containing FLOW content
> minus any other embedded non-text media elements. (IMG, CANVAS, APPLET,
> EMBED, VIDEO, AUDIO, OBJECT).
>
> I think your example is still a bit unorthodox however, since normally
> the content model should be (PARAM* , OBJECT) or (PARAM* , (&flow;)* -
> [embedded media elements]).
HTML 4 does not preclue the inclusion of IMG amongst the flow
elemements. In fact, IMG is also flow. As is OBJECT itself. (As
you yourself note .)
> In other words either object fallback or
> flow fallback with no embedding. I think the conformance checker should
> check for this. And in cases other than role='decorative', the
> conformance checker should throw errors for missing text fallback (or
> throw warning for role='photo').
Perhaps a warning if the flow contains an IMG. But not an error,
unless the fallback of the IMG itself is used wrong. Why shouldn't
embedded not-text elements be permitted, provided they contain
fallback themselves?
I also wonder whether should be
equal to the requirement of text fallback?
> BTW, further reflection on your earlier quote form the Microsoft IE
> Blog[3], leaves me a little stunned if this is actually true. Does
> anyone have IE (any version) handy to test this? As Leif quoted earlier:
>
> " is not parsed in a cross-browser compatible way (parsing stops
> at the OBJECT, whereas other browsers continue parsing all the fallback
> content and make it available. No support for this parsing behavior is
> planned for IE8; I'll take this opportunity to ask for real-world
> scenarios that can help me prioritize this feature."
>
> I find it hard to believe that the content of the OBJECT element are not
> parsed. Is it simply thrown away? Is it added to the DOM as plain text?
> Or does it mean that the more sophisticated fallback mechanism enabled
> by the OBJECT element is not supported so that IE simply handles only
> the first embedded content and ignores the remaining content. Does IE
> have a DOM browser like the other browsers? I guess you could always
> view it at Hixie's DOM viewer[4]. If the tree of OBJECT elements is
> shown properly nested with the fallback text in a text node within the
> second object than the IE blog entry is incorrect
IN IE 6 the statement seems correct. And after having installed
IE8beta, it seems you are right in that it is not correct for IE8
... (Have not tried IE7, and do not trust the IE7 emulation of
IE8.) However, a better test case than yours is this (since in
your test, in IE8beta1, the GIF would actually be displayed):
some fallback
References: <48AAA1F5.80501@malform.no> <20080819110032.GA19723@jdc.jasonjgw.net> <48AAB247.7020902@malform.no> <20080820010326.GA7419@jdc.jasonjgw.net> <48ABFC72.4090703@malform.no> <342A4D0B-1D95-45CC-9216-92651ABB49EA@robburns.com> <48AC0F81.7060908@malform.no>
<48ACDDE3.3060306@malform.no>
Message-ID: <3B79E5D2-AD51-4C90-8185-6CE8C9E8BBFE@robburns.com>
Hi Leif,
On Aug 21, 2008, at 6:15 AM, Leif Halvard Silli wrote:
> Robert J Burns 2008-08-21 00.49:
>
>> On Aug 20, 2008, at 3:35 PM, Leif Halvard Silli wrote:
>
>
>>>
>>>
>>>
>>>
>>> Fallback for 'another movie', which again is
>>> fallback for one-movie.
>>>
>>>
>>>
>>> But this, then -- again -- illustrates how the fallback of OBJECT
>>> isn't geared at screen readers, as the fallback itself can contain
>>> both text and movies, simultanously.
>>
>> Well it is still geared at screen readers as long as each bit of
>> embedded non-text media has some text fallback. In your example
>> everything is covered in terms of alt text / text equivalents.
>
>
> So you don't hink a validator should OK this?
No, I think the validator should throw an error for the IMG element.
However, I'm saying everything is covered in terms of UA conformance.
That is even though a document is in error following your example, the
UA could still produce intelligible output for the user (I'm only
saying in error for HTML5, though I think the prose of HTML4 also
imply this is an error). It could be make to work, but I think it adds
needless complications to permit it in document conformance.
>>> Must give this more thought. But I feel what you say suppports
>>> what I've said about how OBJECT is lacking an actual description
>>> of how it, in the "real world", is going to be used. There is to
>>> much high level "it is superior" thinking going on, without
>>> looking at the details of how it should be used, is my view.
>>
>> Yeah, I think you're partially right. I took a look at the HTML 4.01
>> prose[1] and DTD[2] and the DTD fails to give unambiguous normative
>> guidance on precisely how this should work. The prose on the other
>> hand
>> do explain it, but there could still be some ambiguities that I'm
>> missing. It doesn't have the normative language that the HTML5 draft
>> should include. It should be made clear that every object element
>> should
>> include an ultimate fallback object element containing FLOW content
>> minus any other embedded non-text media elements. (IMG, CANVAS,
>> APPLET,
>> EMBED, VIDEO, AUDIO, OBJECT).
>>
>
>> I think your example is still a bit unorthodox however, since
>> normally
>> the content model should be (PARAM* , OBJECT) or (PARAM* ,
>> (&flow;)* -
>> [embedded media elements]).
>
>
> HTML 4 does not preclue the inclusion of IMG amongst the flow
> elemements. In fact, IMG is also flow. As is OBJECT itself. (As
> you yourself note .)
It doesn't in the DTD, but I think the prose imply this is non-
conforming. Again, I think the prose implies this is non-conforming,
but it is not stated clearly enough for my taste.
>> In other words either object fallback or
>> flow fallback with no embedding. I think the conformance checker
>> should
>> check for this. And in cases other than role='decorative', the
>> conformance checker should throw errors for missing text fallback (or
>> throw warning for role='photo').
>
>
> Perhaps a warning if the flow contains an IMG. But not an error,
> unless the fallback of the IMG itself is used wrong. Why shouldn't
> embedded not-text elements be permitted, provided they contain
> fallback themselves?
>
> I also wonder whether should be
> equal to the requirement of text fallback?
or 'text/plain', or even 'text/rtf'. For these I think the validator
should throw warnings only. After all text/plain could even be ascii
art (just as one example) and still require either object alt text or
longdesc. Also since the author of the present document may have no
control over the accessibility of the embedded documents, the author
may need to include the appropriate alt text and other text
equivalents in the primary document.
>
>
>> BTW, further reflection on your earlier quote form the Microsoft IE
>> Blog[3], leaves me a little stunned if this is actually true. Does
>> anyone have IE (any version) handy to test this? As Leif quoted
>> earlier:
>>
>> " is not parsed in a cross-browser compatible way (parsing
>> stops
>> at the OBJECT, whereas other browsers continue parsing all the
>> fallback
>> content and make it available. No support for this parsing behavior
>> is
>> planned for IE8; I'll take this opportunity to ask for real-world
>> scenarios that can help me prioritize this feature."
>
>>
>
>> I find it hard to believe that the content of the OBJECT element
>> are not
>> parsed. Is it simply thrown away? Is it added to the DOM as plain
>> text?
>> Or does it mean that the more sophisticated fallback mechanism
>> enabled
>> by the OBJECT element is not supported so that IE simply handles only
>> the first embedded content and ignores the remaining content. Does IE
>> have a DOM browser like the other browsers? I guess you could always
>> view it at Hixie's DOM viewer[4]. If the tree of OBJECT elements is
>> shown properly nested with the fallback text in a text node within
>> the
>> second object than the IE blog entry is incorrect
>
>
> IN IE 6 the statement seems correct. And after having installed
> IE8beta, it seems you are right in that it is not correct for IE8
> ... (Have not tried IE7, and do not trust the IE7 emulation of
> IE8.) However, a better test case than yours is this (since in
> your test, in IE8beta1, the GIF would actually be displayed):
>
>
>
> some fallback
> Either they were wrong, or we misunderstands the issue ... I
> wonder if they mean that if an OBJECT with an working
> data="attribute" URI is found, then then the other nested OBJECTS
> and the rest of the fallback content is ignored.
Well, if an object is reached that IE can handle natively or through a
plugin handler, then that is what the HTML4.01 recommendation expects.
The issue is if you view the DOM, do you see the descendant nodes
there. If so then a sophisticated add-on or screen reader (something
like Fire Vox for example, though it is for Firefox) can get to the
fallback for accessibility reasons. In other words the DOM should look
something like:
HTML
? HEAD
? BODY
? OBJECT data="data:application/x-unknown,ERROR"
? #text:
? OBJECT type="image/gif" data="object-ie8.gif"
? #text: some fallback
If that's all there in IE, and IE selects the first supported or
enabled mime type in hierarchical order, then that's all we would
expect (since IE has no aural/braille features of its own).
Take care,
Rob
From rob at robburns.com Thu Aug 21 02:21:51 2008
From: rob at robburns.com (Robert J Burns)
Date: Thu, 21 Aug 2008 12:21:51 +0300
Subject: [html4all] Object element support
In-Reply-To: <3B79E5D2-AD51-4C90-8185-6CE8C9E8BBFE@robburns.com>
References: <48AAA1F5.80501@malform.no> <20080819110032.GA19723@jdc.jasonjgw.net> <48AAB247.7020902@malform.no> <20080820010326.GA7419@jdc.jasonjgw.net> <48ABFC72.4090703@malform.no> <342A4D0B-1D95-45CC-9216-92651ABB49EA@robburns.com> <48AC0F81.7060908@malform.no>
<48ACDDE3.3060306@malform.no>
<3B79E5D2-AD51-4C90-8185-6CE8C9E8BBFE@robburns.com>
Message-ID: <04873D9F-6390-4054-92C6-377F8A7BB5AF@robburns.com>
Hi Leif,
On Aug 21, 2008, at 12:11 PM, Robert J Burns wrote:
> On Aug 21, 2008, at 6:15 AM, Leif Halvard Silli wrote:
>>
>> IN IE 6 the statement seems correct. And after having installed
>> IE8beta, it seems you are right in that it is not correct for IE8
>> ... (Have not tried IE7, and do not trust the IE7 emulation of
>> IE8.) However, a better test case than yours is this (since in
>> your test, in IE8beta1, the GIF would actually be displayed):
>>
>>
>>
>> some fallback>
>> Either they were wrong, or we misunderstands the issue ... I
>> wonder if they mean that if an OBJECT with an working
>> data="attribute" URI is found, then then the other nested OBJECTS
>> and the rest of the fallback content is ignored.
>
> Well, if an object is reached that IE can handle natively or through a
> plugin handler, then that is what the HTML4.01 recommendation expects.
> The issue is if you view the DOM, do you see the descendant nodes
> there. If so then a sophisticated add-on or screen reader (something
> like Fire Vox for example, though it is for Firefox) can get to the
> fallback for accessibility reasons. In other words the DOM should look
> something like:
>
> HTML
> ? HEAD
> ? BODY
> ? OBJECT data="data:application/x-unknown,ERROR"
> ? #text:
> ? OBJECT type="image/gif" data="object-ie8.gif"
> ? #text: some fallback
>
> If that's all there in IE, and IE selects the first supported or
> enabled mime type in hierarchical order, then that's all we would
> expect (since IE has no aural/braille features of its own).
It occurs to me that the IE blogger may have simply been saying that
they don't support alterante fallback in a different way. For example
if the first file is application/xhtml+xml, and the resource is
available, IE may instead resort to downloading it rather than falling
back to the next OBJECT. Or maybe they do not support more than two
fallbacks. Or maybe they're just saying that they don't offer user
options to disable certain types of content (like for accessibility
reasons). It is difficult to figure out what they could mean there[1].
Take care,
Rob
[1]: See "Known issues we are not planning to change in IE8" in the
official Internet Explorer blog on the OBJECT element.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wilbur.bytowninternet.com/pipermail/list_html4all.org/attachments/20080821/de25d37d/attachment.html
From faulkner.steve at gmail.com Thu Aug 21 03:51:13 2008
From: faulkner.steve at gmail.com (Steven Faulkner)
Date: Thu, 21 Aug 2008 11:51:13 +0100
Subject: [html4all] Fwd: some reflections on @alt usage
In-Reply-To: <55687cf80808210307j8e49ebbj87558c9c0bded49c@mail.gmail.com>
References: <5F228EF6-8B10-4DAC-B5E6-401C7B471404@IEEE.org>
<809E8F77-85DF-4366-AED3-62F7FD8F2F83@ieee.org>
<55687cf80808210307j8e49ebbj87558c9c0bded49c@mail.gmail.com>
Message-ID: <55687cf80808210351u3ede90a1r8926ea56e9c9a41e@mail.gmail.com>
for those that may be interested: the beat goes on...
Is it worth it? propabaly not.
---------- Forwarded message ----------
From: Steven Faulkner
Date: 2008/8/21
Subject: Re: some reflections on @alt usage
To: Ian Hickson
Cc: Al Gilman , W3C WAI-XTECH
hi ian,
>There are two problems with this. One is that the descriptive
>identification of the non-text content would almost certainly be provided
>anyway, e.g. as the image caption, for all users, and thus including it in
>the alt="" attribute would be redundant, leading to "stuttering" (that is,
>content repetition).
Can you provide the the research to back up the claim that descriptive
identification would almost certainly be provided elsewhere?
The caption for such an image does not necessarily suffice as the
text alternative, much more descriptive information can be provided
for disabled users who cannot view the image or have a vision
impairment that renders image blurred. Who are you to decide that this
information is not worthy of inclusion by mandating that the alt must
be of the form {}.
In the example below the alt provides descriptive information that may
be useful to visually impaired users. It provides information that
would be obvious to a sighted user but could not be ascertained by a
vison impaired user unless they asked someone to describe it to them.
That is the point of a textual alternative, to provide information to
a disabled user that cannot access the information themselves.
> The following:
>
>
What do you see in the following image?
>
>
> ...is semantically equivalent, for users without images, to the following:
>
>
What do you see in the following image?
>
A colour blindness test.
>
> Which is not at all equivalent.
WCAG does not mandate that the text alternative must be an
'equivalent', it accepts that this is not always possible, in which
case a description is the recommended text alternative.
> Could you give an example of such a page where one would have an image
> that cannot be described when the page is written but where the image
> nonetheless has enough associated data that the user would get confused?
>
examples:
http://www.flickr.com/photos/
http://www.flickr.com/photos/tags/australia/
http://www.flickr.com/explore/interesting/7days/
> Joshue has provided extremely useful usability studies that we have used
> to help guide the design of HTML5. However, with all due respect to
> Joshue, sometimes even his opinions contradict the evidence he provides.
> That is why it is more important to base our decisions on actual objective
> research. (I say this without meaning any ill will to Joshue at all, I am
> very thankful for all the research he has done for us so far.)
What josh provided was one set of videos, this in way way can be
considered a basis for any decisions, the study is in no way
'scientific' or objective
> That is why it is more important to base our decisions on actual objective
> research.
All the decisions appear to be made by you, so the use of 'our' seems
incorrect here.
where is this 'objective research'??
> Asking me to speak to other experts is still an argument based on
> authority and not an argument based on research.
At the risk of repeating myself where is this research you have used ?
Talking about arguments based on research rather authority is
hypocritical as these issues are decided by you on the authority that
you have over the what goes into the HTML5 spec. You don't let lack of
research get in your way. So really it ends up that unless your
authority is circumscribed by the authority of the W3C, all the
decisions about what goes into the spec will continue to be made by
you, not by the HTML working group.
Under the present situation, the only hope for any input into the spec
without you calling the shots is at 'last call' when W3C member
organisations can formally object and stop the spec becoming a
candidate recommendation. I for one will be working with disability
organisations who are members of the W3C to this end.
As you are in control, the eventualities of the outcomes are down to you.
so be it.
stevef.
From rob at robburns.com Thu Aug 21 10:48:56 2008
From: rob at robburns.com (Robert J Burns)
Date: Thu, 21 Aug 2008 20:48:56 +0300
Subject: [html4all] Unified approach to media elements
Message-ID: <2CF08A63-E093-450A-809D-3BC4B22BAECC@robburns.com>
Hi Gregory and all,
I was looking at your recent page to add caption, legend, help/hint
elements to HTML5[1]. I had been considering the same problem of hint/
help with a bit of a different perspective, though also inspired by
XForms hint element[2]. On that wiki page, I also propose applying the
separation of concerns to the concept of a tooltip which gets
conflated in its semantic and presentational forms. In this way, CSS
would afford authors the ability to control what content gets floated
above the document in the visual presentation (e.g., causing the title
attribute contents to float above an element when the pointer hovers
over that element). On the other hand this provides eliminates the
incentive authors have to misuse elements and attributes so that the
'title attribute or the 'hint' element retain their intended uses.
Take care,
Rob
[1]:
[2]:
From rob at robburns.com Thu Aug 21 13:41:52 2008
From: rob at robburns.com (Robert J Burns)
Date: Thu, 21 Aug 2008 23:41:52 +0300
Subject: [html4all] role attribute keywords for embedded media
Message-ID: <4FDA1F29-D5C3-489B-ABE8-FB9F5EC12D68@robburns.com>
Hello 4all,
After recent discussions with Leif and Gregory regarding role keywords
for embedded media, I've added some lists of keywords to the wiki page
Gregory started. For reference, it includes the list of W3C XHTML role
attribute recommendation, role keywords used by Mac OS X's
accessibility APIs (if anyone has lists from other APIs ? like
Windows, Solaris or KDE ? that would be of interest). Then I included
a list of keywords that arose out of our discussions on the topic. I
think the list is fairly comprehensive though I would welcome further
additions and tweaks. It is also a very manageable list for authoring
tools, conformance checkers and even hand-coding authors. As the
discussion has continued on this proposal, I think one of the great
advantages to this role approach is it would really help guide authors
on inputting alt text that genuinely met the requirements for creating
accessible content.
Take care,
Rob
[1]:
From lhs at malform.no Thu Aug 21 20:25:43 2008
From: lhs at malform.no (Leif Halvard Silli)
Date: Fri, 22 Aug 2008 05:25:43 +0200
Subject: [html4all] role attribute keywords for embedded media
In-Reply-To: <4FDA1F29-D5C3-489B-ABE8-FB9F5EC12D68@robburns.com>
References: <4FDA1F29-D5C3-489B-ABE8-FB9F5EC12D68@robburns.com>
Message-ID: <48AE31B7.4060604@malform.no>
Robert J Burns 2008-08-21 22.41:
> After recent discussions with Leif and Gregory regarding role keywords
> for embedded media, I've added some lists of keywords to the wiki page
> Gregory started. [...] [1]
Excellent.
> I think one of the great advantages to this role approach is it
> would really help guide authors on inputting alt text that
> genuinely met the requirements for creating accessible content.
And in that regard, for what the Wiki page call 'layout or
spacer', how about role="space" instead, to signify images which
represent space, and therefore a space character as fallback?
Btw, is role=richtext smart? And where is role=text in the Wiki?
You link "richtext" to the fallback requirements, it could seem.
But I think @role is linked to the very element. To explain why I
think it is bad, consider XHTML 2, where e.g. an H2 element could
contain an textimage, with the same text in the fallback.
A little heading.
What role would that H2-image play then? Richtext? I guess no. But
the moment I emphasized one word in the heading, then it should?
Richtext would also be easy to misunderstand, as many simply
consider any format where bold, italics etc is /possible/ as rich
text. I think role=text would be good enough.
But perhaps, instead, there should be a role to signify that
something is embedded?
> [1]:
--
leif halvard silli
From lhs at malform.no Thu Aug 21 20:36:51 2008
From: lhs at malform.no (Leif Halvard Silli)
Date: Fri, 22 Aug 2008 05:36:51 +0200
Subject: [html4all] Object element support
In-Reply-To: <3B79E5D2-AD51-4C90-8185-6CE8C9E8BBFE@robburns.com>
References: <48AAA1F5.80501@malform.no> <20080819110032.GA19723@jdc.jasonjgw.net> <48AAB247.7020902@malform.no> <20080820010326.GA7419@jdc.jasonjgw.net> <48ABFC72.4090703@malform.no> <342A4D0B-1D95-45CC-9216-92651ABB49EA@robburns.com> <48AC0F81.7060908@malform.no> <48ACDDE3.3060306@malform.no>
<3B79E5D2-AD51-4C90-8185-6CE8C9E8BBFE@robburns.com>
Message-ID: <48AE3453.2020506@malform.no>
Robert J Burns 2008-08-21 11.11:
> On Aug 21, 2008, at 6:15 AM, Leif Halvard Silli wrote:
>>>>
>>>>
>>>>
>>>>
>>>> Fallback for 'another movie', which again is
>>>> fallback for one-movie.
>>>>
>>>>
>> So you don't hink a validator should OK this?
>
> No, I think the validator should throw an error for the IMG element.
> However, I'm saying everything is covered in terms of UA conformance.
> That is even though a document is in error following your example, the
> UA could still produce intelligible output for the user (I'm only
> saying in error for HTML5, though I think the prose of HTML4 also
> imply this is an error). It could be make to work, but I think it adds
> needless complications to permit it in document conformance.
So, if I want to offer some flash to those that enjoy flash, but a
nice mark-up with some images as fallback for the other readers,
then this would not be good enough, you say. Because then the
screen readers would get some IMG elements.
I can't agree to this. I think the fallback must be judged
independently from very OBJECT element.
--
leif halvard silli
From rob at robburns.com Fri Aug 22 03:57:59 2008
From: rob at robburns.com (Robert J Burns)
Date: Fri, 22 Aug 2008 13:57:59 +0300
Subject: [html4all] role attribute keywords for embedded media
In-Reply-To: <48AE31B7.4060604@malform.no>
References: <4FDA1F29-D5C3-489B-ABE8-FB9F5EC12D68@robburns.com>
<48AE31B7.4060604@malform.no>
Message-ID: <2305DC0B-E597-4294-A9CE-98609271F8FD@robburns.com>
Hi Leif,
On Aug 22, 2008, at 6:25 AM, Leif Halvard Silli wrote:
> Robert J Burns 2008-08-21 22.41:
>
>> After recent discussions with Leif and Gregory regarding role
>> keywords
>> for embedded media, I've added some lists of keywords to the wiki
>> page
>> Gregory started. [...] [1]
>
>
> Excellent.
>
>> I think one of the great advantages to this role approach is it
>> would really help guide authors on inputting alt text that
>> genuinely met the requirements for creating accessible content.
>
>
> And in that regard, for what the Wiki page call 'layout or
> spacer', how about role="space" instead, to signify images which
> represent space, and therefore a space character as fallback?
>
> Btw, is role=richtext smart? And where is role=text in the Wiki?
>
> You link "richtext" to the fallback requirements, it could seem.
> But I think @role is linked to the very element. To explain why I
> think it is bad, consider XHTML 2, where e.g. an H2 element could
> contain an textimage, with the same text in the fallback.
>
>
A little heading.
>
> What role would that H2-image play then? Richtext? I guess no. But
> the moment I emphasized one word in the heading, then it should?
>
> Richtext would also be easy to misunderstand, as many simply
> consider any format where bold, italics etc is /possible/ as rich
> text. I think role=text would be good enough.
Yeah, I can see how that might cause confusion. I was not referring to
rich text in the markup. I never use that phrase in that way because
it is too closely linked to the non-semantics of rich text from things
like the rich text format (RTF). Rather I was more referring to the
styled text of the image so that even in your example from XHTML2, the
phrase "A little heading" might be richly styled with a font that the
author is not able to share with users and is unable to rely on its
presence in the users environment. Even that I consider rich text.
However, I'll change it just to text, because its shorter and its use
should be detailed in the recommendation anyway.
Take care,
Rob
>
>
>> [1]: > >
>
From rob at robburns.com Fri Aug 22 04:05:56 2008
From: rob at robburns.com (Robert J Burns)
Date: Fri, 22 Aug 2008 14:05:56 +0300
Subject: [html4all] Object element support
In-Reply-To: <48AE3453.2020506@malform.no>
References: <48AAA1F5.80501@malform.no> <20080819110032.GA19723@jdc.jasonjgw.net> <48AAB247.7020902@malform.no> <20080820010326.GA7419@jdc.jasonjgw.net> <48ABFC72.4090703@malform.no> <342A4D0B-1D95-45CC-9216-92651ABB49EA@robburns.com> <48AC0F81.7060908@malform.no> <48ACDDE3.3060306@malform.no>
<3B79E5D2-AD51-4C90-8185-6CE8C9E8BBFE@robburns.com>
<48AE3453.2020506@malform.no>
Message-ID: <2389286B-5007-409F-A991-252692A19AA0@robburns.com>
Hi Leif,
On Aug 22, 2008, at 6:36 AM, Leif Halvard Silli wrote:
> Robert J Burns 2008-08-21 11.11:
>
>> On Aug 21, 2008, at 6:15 AM, Leif Halvard Silli wrote:
>
>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Fallback for 'another movie', which again is
>>>>> fallback for one-movie.
>>>>>
>>>>>
>
>
>>> So you don't hink a validator should OK this?
>>
>> No, I think the validator should throw an error for the IMG element.
>> However, I'm saying everything is covered in terms of UA conformance.
>> That is even though a document is in error following your example,
>> the
>> UA could still produce intelligible output for the user (I'm only
>> saying in error for HTML5, though I think the prose of HTML4 also
>> imply this is an error). It could be make to work, but I think it
>> adds
>> needless complications to permit it in document conformance.
>
>
> So, if I want to offer some flash to those that enjoy flash, but a
> nice mark-up with some images as fallback for the other readers,
> then this would not be good enough, you say. Because then the
> screen readers would get some IMG elements.
>
> I can't agree to this. I think the fallback must be judged
> independently from very OBJECT element.
That is a use case I had not considered (multi media like flash
falling back to multi media HTML). I agree it should be permitted.
However, then I'm left wondering what you meant by your original
OBJECT element objections. It seems your example should be both
document conforming and is also handled properly even in HTML4.01.
If we make longdesc available on OBJECT (or even make it a global
attribute), then OBJECT has everything needed to replace IMG (at least
in present and future browsers with IE8). The contents of the OBJECT
element contain the alt text for the embedded media and other
description can be referenced by the longdesc attribute (or contained
in the embedded media internally as I've suggested elsewhere)[1].i
Take care,
Rob
[1]:
From lhs at malform.no Fri Aug 22 07:44:06 2008
From: lhs at malform.no (Leif Halvard Silli)
Date: Fri, 22 Aug 2008 16:44:06 +0200
Subject: [html4all] role attribute keywords for embedded media
In-Reply-To: <2305DC0B-E597-4294-A9CE-98609271F8FD@robburns.com>
References: <4FDA1F29-D5C3-489B-ABE8-FB9F5EC12D68@robburns.com> <48AE31B7.4060604@malform.no>
<2305DC0B-E597-4294-A9CE-98609271F8FD@robburns.com>
Message-ID: <48AED0B6.7070000@malform.no>
Robert J Burns 2008-08-22 12.57:
>> And in that regard, for what the Wiki page call 'layout or
>> spacer', how about role="space" instead, to signify images which
>> represent space, and therefore a space character as fallback?
What did you think about this? You see, I think that many authors
would not understand what kind of @alt a role="spacer" or
role="layout" woud require. Many would think that they should have
alt="". But my view is that they, for safety, should have alt=" "
and not alt="".
[...]
>> Richtext would also be easy to misunderstand, as many simply
>> consider any format where bold, italics etc is /possible/ as rich
>> text. I think role=text would be good enough.
> However, I'll change it just to text, because its shorter and its use
> should be detailed in the recommendation anyway.
Agree.
>>> [1]:
References: <4FDA1F29-D5C3-489B-ABE8-FB9F5EC12D68@robburns.com> <48AE31B7.4060604@malform.no>
<2305DC0B-E597-4294-A9CE-98609271F8FD@robburns.com>
<48AED0B6.7070000@malform.no>
Message-ID:
Hi Leif,
Re: role for embedded media [1]
On Aug 22, 2008, at 5:44 PM, Leif Halvard Silli wrote:
> Robert J Burns 2008-08-22 12.57:
>
>>> And in that regard, for what the Wiki page call 'layout or
>>> spacer', how about role="space" instead, to signify images which
>>> represent space, and therefore a space character as fallback?
>
> What did you think about this? You see, I think that many authors
> would not understand what kind of @alt a role="spacer" or
> role="layout" woud require. Many would think that they should have
> alt="". But my view is that they, for safety, should have alt=" "
> and not alt="".
I'm not sure I recognize the use case for it. I guess you're saying
some use spacers just as they would a U+0020 space? Or perhaps the way
XMl/HTML attribute values replace sequences of other whitespace values
with a single U+0020? I guess that could make sense. To me this would
just be needed for legacy UA processing. An HTML5 UA could simply read
the 'space' keyword and then know to replace the image with a U+0020
space. Though that does suggest we would need a separate 'space'
keyword and leave 'decorative' for frills and flourishes and the like.
What about layout v. space or layout v. decorative? Do we still need
three separate keywords (layout, space, decor)?
Take care,
Rob
[1]:
References: <4FDA1F29-D5C3-489B-ABE8-FB9F5EC12D68@robburns.com> <48AE31B7.4060604@malform.no> <2305DC0B-E597-4294-A9CE-98609271F8FD@robburns.com> <48AED0B6.7070000@malform.no>
Message-ID: <48AEFBD6.1020108@malform.no>
Robert J Burns 2008-08-22 16.53:
> Re: role for embedded media [1]
>
> On Aug 22, 2008, at 5:44 PM, Leif Halvard Silli wrote:
>> Robert J Burns 2008-08-22 12.57:
>>
>>>> And in that regard, for what the Wiki page call 'layout or
>>>> spacer', how about role="space" instead, to signify images which
>>>> represent space, and therefore a space character as fallback?
>>
>> What did you think about this? You see, I think that many authors
>> would not understand what kind of @alt a role="spacer" or
>> role="layout" woud require. Many would think that they should have
>> alt="". But my view is that they, for safety, should have alt=" "
>> and not alt="".
>
> I'm not sure I recognize the use case for it. I guess you're saying
> some use spacers just as they would a U+0020 space? Or perhaps the way
> XMl/HTML attribute values replace sequences of other whitespace values
> with a single U+0020? I guess that could make sense. To me this would
Yes, I had in mind that several space(r)s would just become one.
Often alt="" would be fine, but alt=" " would be safer, so words
would not be concatenated if embedded elements with decorative or
layout purposes was all that separated them.
> just be needed for legacy UA processing. An HTML5 UA could simply read
> the 'space' keyword and then know to replace the image with a U+0020
> space. Though that does suggest we would need a separate 'space'
> keyword and leave 'decorative' for frills and flourishes and the like.
> What about layout v. space or layout v. decorative? Do we still need
> three separate keywords (layout, space, decor)?
Is 'decor' a new proposal, instead of 'decorative'? I agree that
'decorative' is not so good, as it is an adjective. The other
roles appears to be substantives. I would prefer 'decor' or
'decoration'.
My thought would be to have only have two: "space" and "decor" (or
"layout" and "decor").
One could have had only one role, as well, role=decor, and say
that authors had to choose between alt="" and alt=" ". But then
there would be no way programmatically validate whether the @alt
had been used correctly or not.
> [1]:
References: <48AAA1F5.80501@malform.no> <20080819110032.GA19723@jdc.jasonjgw.net> <48AAB247.7020902@malform.no> <20080820010326.GA7419@jdc.jasonjgw.net> <48ABFC72.4090703@malform.no> <342A4D0B-1D95-45CC-9216-92651ABB49EA@robburns.com> <48AC0F81.7060908@malform.no> <48ACDDE3.3060306@malform.no> <3B79E5D2-AD51-4C90-8185-6CE8C9E8BBFE@robburns.com> <48AE3453.2020506@malform.no>
<2389286B-5007-409F-A991-252692A19AA0@robburns.com>
Message-ID: <48AF0296.6000202@malform.no>
Robert J Burns 2008-08-22 13.05:
> On Aug 22, 2008, at 6:36 AM, Leif Halvard Silli wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Fallback for 'another movie', which again is
>>>>>> fallback for one-movie.
>>>>>>
>>>>>>
>>
>>
>>>> So you don't hink a validator should OK this?
>>>
>>> No, I think the validator should throw an error for the IMG element.
[...]
>> So, if I want to offer some flash to those that enjoy flash, but a
>> nice mark-up with some images as fallback for the other readers,
>> then this would not be good enough, you say. Because then the
>> screen readers would get some IMG elements.
[...]
> That is a use case I had not considered (multi media like flash
> falling back to multi media HTML). I agree it should be permitted.
> However, then I'm left wondering what you meant by your original
> OBJECT element objections. It seems your example should be both
> document conforming and is also handled properly even in HTML4.01.
Well, in a way it is linked to this use case. The question is: Is
there a need for the distinction short vs. long fallback? As
sighted, grasping an image is fast. Describing it in words might
take longer time to read etc.
For the IMG, the @longdesc is place you can jump /to/. However,
perhaps what is really needed is to be able to jump /over/? I.e.
if - as Jason said - the fallback is always long. Consider this:
So, perhaps, what I said about being able to jump to a long
description, could be replaced with an advice to authors that they
provide a way to "Skip over" the (long) fallback? Just as it is
recommended to be able to skip over navigation and to main
content? Or, perhaps simply adding a table summary would be
enough? ;-)
(Seems like my view on this has developed.)
> If we make longdesc available on OBJECT (or even make it a global
> attribute), then OBJECT has everything needed to replace IMG (at least
> in present and future browsers with IE8). The contents of the OBJECT
> element contain the alt text for the embedded media and other
> description can be referenced by the longdesc attribute (or contained
> in the embedded media internally as I've suggested elsewhere)[1].i
> [1]:
--
Leif Halvard Silli
From rob at robburns.com Sat Aug 23 02:21:54 2008
From: rob at robburns.com (Robert J Burns)
Date: Sat, 23 Aug 2008 12:21:54 +0300
Subject: [html4all] Object element support
In-Reply-To: <48AF0296.6000202@malform.no>
References: <48AAA1F5.80501@malform.no> <20080819110032.GA19723@jdc.jasonjgw.net> <48AAB247.7020902@malform.no> <20080820010326.GA7419@jdc.jasonjgw.net> <48ABFC72.4090703@malform.no> <342A4D0B-1D95-45CC-9216-92651ABB49EA@robburns.com> <48AC0F81.7060908@malform.no> <48ACDDE3.3060306@malform.no> <3B79E5D2-AD51-4C90-8185-6CE8C9E8BBFE@robburns.com> <48AE3453.2020506@malform.no>
<2389286B-5007-409F-A991-252692A19AA0@robburns.com>
<48AF0296.6000202@malform.no>
Message-ID: <5D27059D-4841-4D49-AFD3-CAA6166DE8C9@robburns.com>
HI Leif,
On Aug 22, 2008, at 9:16 PM, Leif Halvard Silli wrote:
> Robert J Burns 2008-08-22 13.05:
>
>> On Aug 22, 2008, at 6:36 AM, Leif Halvard Silli wrote:
>
>
>>>>>>>
>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Fallback for 'another movie', which again is
>>>>>>> fallback for one-movie.
>>>>>>>
>>>>>>>
>>>
>>>
>>>>> So you don't hink a validator should OK this?
>>>>
>>>> No, I think the validator should throw an error for the IMG
>>>> element.
>
> [...]
>
>>> So, if I want to offer some flash to those that enjoy flash, but a
>>> nice mark-up with some images as fallback for the other readers,
>>> then this would not be good enough, you say. Because then the
>>> screen readers would get some IMG elements.
>
> [...]
>
>> That is a use case I had not considered (multi media like flash
>> falling back to multi media HTML). I agree it should be permitted.
>> However, then I'm left wondering what you meant by your original
>> OBJECT element objections. It seems your example should be both
>> document conforming and is also handled properly even in HTML4.01.
>
>
> Well, in a way it is linked to this use case. The question is: Is
> there a need for the distinction short vs. long fallback? As
> sighted, grasping an image is fast. Describing it in words might
> take longer time to read etc.
Again, I want to discourage this distinction between short and long (I
know I sound like a broken record if anyone remembers those). When
we're talking about OBJECT and other elements that can contain markup
as alt text, the distinction of short and long is not so important
(with the alt attribute it is important since there's really no way to
even separate thoughts into separate paragraphs so it needs to be
fairly short). There is however an important difference served by the
alt attribute (or the contents of an element) and longdesc (or another
such attribute) even if it is not the length of the equivalent text.
That important difference is that one mechanism is for alt text ? text
that is to be replaced and serve as a seamless replacement for the
embedded media ? and the other mechanism is for descriptive text
equivalents ? text that is a subject or visual description of the
embedded media not necessarily suitable to replacing the media in the
present document.
Once both the alt text and the descriptive text equivalent (like that
referenced by the longdesc attribute) can contain markup, then there
is no need to arbitrarily limit the length of the content (whatever
length the author requires is appropriate). UAs can provide users with
navigation capabilities to skip paragraphs or move to the next heading
element, etc. However, the need for separate mechanisms for alt text
and descriptive text still remains.
> For the IMG, the @longdesc is place you can jump /to/. However,
> perhaps what is really needed is to be able to jump /over/? I.e.
> if - as Jason said - the fallback is always long. Consider this:
>
>
>
> So, perhaps, what I said about being able to jump to a long
> description, could be replaced with an advice to authors that they
> provide a way to "Skip over" the (long) fallback? Just as it is
> recommended to be able to skip over navigation and to main
> content? Or, perhaps simply adding a table summary would be
> enough? ;-)
>
> (Seems like my view on this has developed.)
To me adding the longdesc attribute (or a new textdesc attribute) to
all embedded media elements serves the needs of providing a
descriptive text equivalent (as opposed to an alt text equivalent).
The markup itself then provides a means for users to skip over, skim
and otherwise navigate the content.
Take care,
Rob
From jason at jasonjgw.net Sat Aug 23 03:14:46 2008
From: jason at jasonjgw.net (Jason White)
Date: Sat, 23 Aug 2008 20:14:46 +1000
Subject: [html4all] Object element support
In-Reply-To: <5D27059D-4841-4D49-AFD3-CAA6166DE8C9@robburns.com>
References: <48ABFC72.4090703@malform.no>
<342A4D0B-1D95-45CC-9216-92651ABB49EA@robburns.com>
<48AC0F81.7060908@malform.no>
<48ACDDE3.3060306@malform.no>
<3B79E5D2-AD51-4C90-8185-6CE8C9E8BBFE@robburns.com>
<48AE3453.2020506@malform.no>
<2389286B-5007-409F-A991-252692A19AA0@robburns.com>
<48AF0296.6000202@malform.no>
<5D27059D-4841-4D49-AFD3-CAA6166DE8C9@robburns.com>
Message-ID: <20080823101446.GA16357@jdc.jasonjgw.net>
On Sat, Aug 23, 2008 at 12:21:54PM +0300, Robert J Burns wrote:
> That important difference is that one mechanism is for alt text ? text
> that is to be replaced and serve as a seamless replacement for the
> embedded media ? and the other mechanism is for descriptive text
> equivalents ? text that is a subject or visual description of the
> embedded media not necessarily suitable to replacing the media in the
> present document.
An alternative approach, which I favour, is to collapse this distinction by
holding that there is only one alternative needed, namely, whatever can serve
as a seamless substitute for the embedded media. Either this substitute is
adequate to fulfill the purpose or convey the information served by the media
in the context of the content, or it is not.
In the first case, any additional description would be superfluous. In the
second case, the alternative needs to be more explanatory or descriptive, as
appropriate, so as more adequately to serve as a substitute for the embedded
media.
This is the premise on the basis of which WCAG 1.0 and 2.0 requirements are
defined.
I also disagree with the claim, introduced earlier in this thread, that there
are two categories of users, one of which would supposedly be served by the
seamless substitute, and the other of which would need, or benefit from, the
additional description. To the contrary, there is one category of users,
namely those whose delivery context precludes viewing or listening to the
embedded media, whether temporarily, as may be due to environmental or
technological circumstances, or permanently, in the case of the user's having
a disability. However, the circumstances giving rise to the need don't alter
the nature of that need, namely for a seamless and adequate substitute.
While I appreciate the thinking that underlies Rob's distinction, I don't find
it compelling and I don't think it should serve to influence markup language
design. Moreover, WCAG does not draw such a distinction, and I would argue
that it should not.
With apologies for entering the discussion purely to make a negative point, I
nonetheless hope this contrary view helps more than it hinders.
To explain a little further, I think it is a matter of style on the part of
the author whether to provide a seamless substitute "in place", or whether to
provide part of that substitute - a label or a brief explanation - in place,
and then to include a link to additional details that give the missing
explanatory or descriptive material.
I earlier argued that if the substitute is adequate, then additional
description is superfluous. It may be useful to provide such a description,
but it is not an accessibility requirement to do so - if it were, then the
supposed substitute would be inadequate as a genuine alternative to the media.
From rob at robburns.com Sat Aug 23 05:13:08 2008
From: rob at robburns.com (Robert J Burns)
Date: Sat, 23 Aug 2008 15:13:08 +0300
Subject: [html4all] Object element support
In-Reply-To: <20080823101446.GA16357@jdc.jasonjgw.net>
References: <48ABFC72.4090703@malform.no>
<342A4D0B-1D95-45CC-9216-92651ABB49EA@robburns.com>
<48AC0F81.7060908@malform.no>
<48ACDDE3.3060306@malform.no>
<3B79E5D2-AD51-4C90-8185-6CE8C9E8BBFE@robburns.com>
<48AE3453.2020506@malform.no>
<2389286B-5007-409F-A991-252692A19AA0@robburns.com>
<48AF0296.6000202@malform.no>
<5D27059D-4841-4D49-AFD3-CAA6166DE8C9@robburns.com>
<20080823101446.GA16357@jdc.jasonjgw.net>
Message-ID: <3D3BBF9E-91F4-40C3-A636-D68451FCF4CC@robburns.com>
HI Jason,
I'm not sure you're saying anything that disagrees with what I'm
proposing. Let me explain further.
On Aug 23, 2008, at 1:14 PM, Jason White wrote:
> On Sat, Aug 23, 2008 at 12:21:54PM +0300, Robert J Burns wrote:
>> That important difference is that one mechanism is for alt text ?
>> text
>> that is to be replaced and serve as a seamless replacement for the
>> embedded media ? and the other mechanism is for descriptive text
>> equivalents ? text that is a subject or visual description of the
>> embedded media not necessarily suitable to replacing the media in the
>> present document.
>
> An alternative approach, which I favour, is to collapse this
> distinction by
> holding that there is only one alternative needed, namely, whatever
> can serve
> as a seamless substitute for the embedded media. Either this
> substitute is
> adequate to fulfill the purpose or convey the information served by
> the media
> in the context of the content, or it is not.
I agree 100%. This is what I would refer to (following WCAG) as alt
text. In other words I agree that "there is only one alternative
needed", however, there is a need for authors to provide other text
equivalents (not alt text) for users who want more.
> In the first case, any additional description would be superfluous.
> In the
> second case, the alternative needs to be more explanatory or
> descriptive, as
> appropriate, so as more adequately to serve as a substitute for the
> embedded
> media.
>
> This is the premise on the basis of which WCAG 1.0 and 2.0
> requirements are
> defined.
>
> I also disagree with the claim, introduced earlier in this thread,
> that there
> are two categories of users, one of which would supposedly be served
> by the
> seamless substitute, and the other of which would need, or benefit
> from, the
> additional description.
I did not introduce a claim that there are two categories of users.
Rather what I'm saying is that there are two categories of text
equivalents: one being a descriptive equivalent (as opposed to alt
text equivalent) that any given user might or might not want to access
at their discretion. I further feel that by collapsing these two text
equivalents into one we encourage authors to pollute the alt text with
descriptive text equivalents that are a distraction for the users who
don't want that. It may be that this also implies reveals two
categories of users ? those interested in descriptive equivalents and
those who are not ? but that's not the focus of my proposal here.
> To the contrary, there is one category of users,
> namely those whose delivery context precludes viewing or listening
> to the
> embedded media, whether temporarily, as may be due to environmental or
> technological circumstances, or permanently, in the case of the
> user's having
> a disability. However, the circumstances giving rise to the need
> don't alter
> the nature of that need, namely for a seamless and adequate
> substitute.
Again, I agree 100%. This refers to what I, according to my reading of
WCAG, call alt text.
> While I appreciate the thinking that underlies Rob's distinction, I
> don't find
> it compelling and I don't think it should serve to influence markup
> language
> design. Moreover, WCAG does not draw such a distinction, and I would
> argue
> that it should not.
I read WCAG as indeed drawing such a distinction (see 'Techniques for
checkpoint 1.1'[1] and 'Long descriptions for images'[2] for example),
though it is not stated as clearly as I think it should be to help
authors compose adequate alt text.
> With apologies for entering the discussion purely to make a negative
> point, I
> nonetheless hope this contrary view helps more than it hinders.
>
> To explain a little further, I think it is a matter of style on the
> part of
> the author whether to provide a seamless substitute "in place", or
> whether to
> provide part of that substitute - a label or a brief explanation -
> in place,
> and then to include a link to additional details that give the missing
> explanatory or descriptive material.
>
> I earlier argued that if the substitute is adequate, then additional
> description is superfluous. It may be useful to provide such a
> description,
> but it is not an accessibility requirement to do so - if it were,
> then the
> supposed substitute would be inadequate as a genuine alternative to
> the media.
I know this is your view on descriptive equivalent text. However, I
think other users hold different opinions regarding descriptive
equivalent text. Some users want access to more text equivalent than
should be expected within strictly alt replacement text. So while
there may be authoring styles (as opposed to the use of the term
'style' with regard to presentation) that handle this issue
differently, it would be far better for users and author for HTML to
provide specific mechanisms and specific advice on how to separate
these text equivalents.
Again, consider the earlier example I provided[3] where the alt text
and the descriptive text are clearly separate. In that example, I
failed to notice that the referenced image (as the sole contents of an
anchor element) should have likely had its alt set to "fullsize image
of coal power plant" (though similar guidance appears later in the
figure caption). In any event the role of the photograph in this
example is not quite decorative, but it also does not serve the same
integral purpose to the meaning of the document as of a bar graph or
other images where the alt text is crucial. It is perhaps best
described as illustrative or even tangential to the thrust of the
article. The alt text could be:
"a coal power plant silhouetted along a waterway with the dusk sunset
(or dawn sunrise) in the background. The plant is spewing smoke and
steam into the air and we can see the conveyor that delivers coal to
the plant."
but I'm not sure that such a text equivalent is really appropriate in
this particular case. It is a good descriptive text equivalent, but
"fullsize image of coal power plant" might be more appropriate as the
alt text for this anchor element image.
My sense is that if authors consistently used these two mechanisms
they way I'm suggesting, a user like you (Jason) would typically avoid
the descriptive text equivalent and rely only on the alt text
equivalent, while other users I've discussed this with would prefer to
query the UA for the descriptive text equivalent when further curious
about the media. My feeling is that these distinctions exist whether
we acknowledge them or not. And I am very concerned the attempt to
gloss over these distinctions contributes to the continued difficulty
authors have in composing sufficient alt text.
Take care,
Rob
[1]:
[2]:
[3]: my earlier email regarding the text equivalent distinctions regarding a random blog I ran across
From lhs at malform.no Sat Aug 23 05:44:58 2008
From: lhs at malform.no (Leif Halvard Silli)
Date: Sat, 23 Aug 2008 14:44:58 +0200
Subject: [html4all] Object element support
In-Reply-To: <20080823101446.GA16357@jdc.jasonjgw.net>
References: <48ABFC72.4090703@malform.no> <342A4D0B-1D95-45CC-9216-92651ABB49EA@robburns.com> <48AC0F81.7060908@malform.no> <48ACDDE3.3060306@malform.no> <3B79E5D2-AD51-4C90-8185-6CE8C9E8BBFE@robburns.com> <48AE3453.2020506@malform.no> <2389286B-5007-409F-A991-252692A19AA0@robburns.com> <48AF0296.6000202@malform.no> <5D27059D-4841-4D49-AFD3-CAA6166DE8C9@robburns.com>
<20080823101446.GA16357@jdc.jasonjgw.net>
Message-ID: <48B0064A.7040504@malform.no>
Jason White 2008-08-23 12.14:
> On Sat, Aug 23, 2008 at 12:21:54PM +0300, Robert J Burns wrote:
> I also disagree with the claim, introduced earlier in this thread, that there
> are two categories of users, one of which would supposedly be served by the
> seamless substitute, and the other of which would need, or benefit from, the
> additional description. To the contrary, there is one category of users,
> namely those whose delivery context precludes viewing or listening to the
> embedded media, whether temporarily, as may be due to environmental or
> technological circumstances, or permanently, in the case of the user's having
> a disability. However, the circumstances giving rise to the need don't alter
> the nature of that need, namely for a seamless and adequate substitute.
I think you may have characterized the views I put forward, here.
I must admit that, having lead Rob astray, I begin to
view things as you do. ;-)
> While I appreciate the thinking that underlies Rob's distinction, I don't find
> it compelling and I don't think it should serve to influence markup language
> design. Moreover, WCAG does not draw such a distinction, and I would argue
> that it should not.
>
> With apologies for entering the discussion purely to make a negative point, I
> nonetheless hope this contrary view helps more than it hinders.
There is nothing to aplogy for! On the contrary!
> To explain a little further, I think it is a matter of style on the part of
> the author whether to provide a seamless substitute "in place", or whether to
> provide part of that substitute - a label or a brief explanation - in place,
> and then to include a link to additional details that give the missing
> explanatory or descriptive material.
>
> I earlier argued that if the substitute is adequate, then additional
> description is superfluous. It may be useful to provide such a description,
> but it is not an accessibility requirement to do so - if it were, then the
> supposed substitute would be inadequate as a genuine alternative to the media.
Good point. It is also be much simpler if we operate with just one
level of textual fallback.
--
leif halvard silli
From rob at robburns.com Sat Aug 23 15:15:15 2008
From: rob at robburns.com (Robert J Burns)
Date: Sun, 24 Aug 2008 01:15:15 +0300
Subject: [html4all] distinguishing text equivalents: alt text and
descriptive text
In-Reply-To: <3D3BBF9E-91F4-40C3-A636-D68451FCF4CC@robburns.com>
References: <48ABFC72.4090703@malform.no>
<342A4D0B-1D95-45CC-9216-92651ABB49EA@robburns.com>
<48AC0F81.7060908@malform.no>
<48ACDDE3.3060306@malform.no>
<3B79E5D2-AD51-4C90-8185-6CE8C9E8BBFE@robburns.com>
<48AE3453.2020506@malform.no>
<2389286B-5007-409F-A991-252692A19AA0@robburns.com>
<48AF0296.6000202@malform.no>
<5D27059D-4841-4D49-AFD3-CAA6166DE8C9@robburns.com>
<20080823101446.GA16357@jdc.jasonjgw.net>
<3D3BBF9E-91F4-40C3-A636-D68451FCF4CC@robburns.com>
Message-ID:
Hello 4all,
Incidentally, on my proposal that we separate text equivalents into
two categories ? alt text and descriptive text ? my preferred way to
handle the descriptive text is through the immanent metadata
properties of the media files[1]. If we had HTML UAs that could
retrieve and present such metadata properties to users upon user
request, I think that would be idea. I'm not sure the existing
metadata standards are sufficient for this purpose, but we might
piggyback something on XMP metadata now part of Adobe[2]. My thinking
is that since XMP places XML structured metadata into the media file
format, we could add specific W3C named properties that used XHTML5 /
XHTML2 syntax within the property.
The short-term approach I'm advocating is to extend the longdesc
attribute (or another similar attribute like textdesc) to the other
embedded media elements (e.g., OBJECT). It may be that this short term
approach is unnecessary since it isn't a feature of the language
authors have come to expect yet. However, so far Ian has rejected both
longdesc and UAs providing user access to media metadata[3].
Take care,
Rob
[1]:
[2]:
[3]:
From lhs at malform.no Sat Aug 23 18:05:09 2008
From: lhs at malform.no (Leif Halvard Silli)
Date: Sun, 24 Aug 2008 03:05:09 +0200
Subject: [html4all] @abbr, short TH fallback for screen readers
Message-ID: <48B0B3C5.7000501@malform.no>
HTML 4 has the @abbr for table cells, aimed at screen readers,
primerely. It is sofar not included n HTML 5. Should it be kept?
With a reference to the discussion I, Rob and Jason lead about "short
@alt" versus "@longdesc" etc, I would describe @abbr as a "short text
equivalent of of an table header cell".
Are there User Agents who support this attribute? Do you think it is
worth keeping? It makes sense to me: For traversal of a table, it should
be practical to be able to list abbreviated TH content rather than the
full content.
Here are the HTML 4 code examples with @abbr:
*
Type of Coffee
*
Course Name
*
Course Tutor
I was reminded about this issue when I saw Gez's table demonstration
(for the cause of allowing @headers to point to data cells). [1] There
Gez has used the ABBR element in 3 of the headings. But as you can see
from the code examples above, the @abbr and works differently.
The @abbr reminds me a lot about @label for