Options:
- # Session Start: Sun Sep 07 00:00:00 2008
- # Session Ident: #whatwg
- # [00:02] * Joins: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [00:06] * Quits: svl (n=me@ip565744a7.direct-adsl.nl) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [00:07] * Quits: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se) (Client Quit)
- # [00:16] <webben_> Lachy: The MSDN documentation he cites is somewhat bungled I think. I think what they meant to say is that they now expose longdesc directly via MSAA and that they no longer show alt as tooltip (based on my own experimentation with Beta 2 + http://www.paciellogroup.com/blog/?p=43)
- # [00:16] <webben_> that is, they expose the longdesc URI.
- # [00:18] <webben_> whether it's a good idea to dump that in accDescription seems a bit dubious
- # [00:18] <webben_> but maybe they're trying to work around fundamental limitations in MSAA.
- # [00:19] <webben_> I can't get it to display as a tooltip at any rate, and personally I doubt that would be a great implementation.
- # [00:20] <Philip`> Dumping the URI into a textual description field? That seems likely to encourage incorrect usage of the attribute, if anything
- # [00:21] <webben_> Philip`: the complication is accDescription may not be used for a textual description (at least by consumers in the know about IE, which is each reader produced after release)
- # [00:22] <webben_> as I understand it, MSAA is quite limited and getting a complex application exposed to it properly (e.g. an office suite, or a browser) involves a lot of hackery.
- # [00:23] <webben_> Philip`: see http://www.mozilla.org/access/windows/msaa-server for Gecko's notes on the subject
- # [00:23] <webben_> iAccessible2 is standardization based on such overloading of MSAA.
- # [00:24] <webben_> Philip`: for example, an AT might just use the presence of an accDescription to tell it to present an announcement that there's a longdesc present and provide a mechanism to access it.
- # [00:25] * Philip` tries AccExplorer
- # [00:26] <Philip`> With IE8b2, on an image with longdesc, it says "Description: images/small_puppy.txt"
- # [00:26] <Lachy> yeah, well, whatever is implemented, it's still not enough until there is evidence that the implementations are even usable by those who need it
- # [00:26] <Philip`> so it does seem to be putting the (relative) URI (or whatever the attribute value is) in the 'description' field
- # [00:26] <Lachy> and that the increased usage of longdesc by authors can be verified to be significant enough
- # [00:30] <webben_> Philip`: what's in accValue out of interest?
- # [00:30] <webben_> Philip`: (I'm just looking at http://www.mozilla.org/access/windows/msaa-server#Dueling_text_equivalents )
- # [00:30] <Philip`> webben_: Would that be what AccExplorer calls "Value"?
- # [00:30] <webben_> Philip`: I suspect so, yeah.
- # [00:30] <Philip`> If so, that's the absolute image URI
- # [00:30] <webben_> ah okay
- # [00:31] <Philip`> (i.e. it's actually resolved to an absolute URI, rather than just being the attribute value)
- # [00:31] <Philip`> and "Name" is the alt value
- # [00:37] * TuTheSho is now known as tuhso
- # [00:37] * tuhso is now known as tusho
- # [00:37] <Philip`> (In Gran Paradiso 3.0.1, Name is the alt text, and Description and Value are empty)
- # [00:38] <Philip`> (Opera 9.5 is the same)
- # [00:38] <webben_> strange.
- # [00:40] * Quits: jdandrea (n=jdandrea@ool-44c09d7b.dyn.optonline.net)
- # [00:42] <Philip`> (The Inspect tool shows the same, and interestingly it lists ancestors with labels like '"p" [ BUG? State/Role should not be a string ]' in Firefox)
- # [00:43] <webben_> Philip`: http://msdn.microsoft.com/en-us/library/ms696156(VS.85).aspx : Remarks section is interesting
- # [00:43] <webben_> "This property provides a textual equivalent of the object for the user. The description should be similar to the text supplied with the ALT attribute in HTML, which is the text that is displayed to describe images for people using text-only browsers."
- # [00:43] <webben_> "However, some controls use this property to store extra information about the control that is not related to a textual equivalent."
- # [00:43] <webben_> (i.e. overloading it, presumably)
- # [00:44] <Philip`> (Oh, also, in Firefox, for "Value" Inspect says "[Error: getting string: hr=0x80004005 - Unspecified error]", so it's not quite just an empty string or missing)
- # [00:45] <Philip`> webben_: That sounds like utterly useless documentation
- # [00:46] <webben_> Don't look at me; I didn't write it! ;)
- # [00:46] <webben_> Philip`: I agree. Not very helpful.
- # [00:46] <Philip`> "The Description property might contain a description, or it might not! Have fun figuring it out yourselves"
- # [00:47] <Philip`> and it seems nobody puts the alt attribute text into that Description property anyway
- # [00:47] <Philip`> so it's actively misleading
- # [00:47] <webben_> including IE.
- # [00:49] <Philip`> Safari 3.1.2 seems to be totally opaque to these MSAA tools - it's just a WebViewWindowClass and that's it
- # [00:49] <webben_> http://msdn.microsoft.com/en-us/library/ms695710(VS.85).aspx
- # [00:49] <webben_> "An object's Description property provides a textual description about an object's visual appearance. The description is primarily used to provide greater context for low-vision or blind users, but is also used for context searching or other applications"
- # [00:49] <webben_> Philip`: yeah, WebKit's MSAA implementation is still in the early stages AFAIK.
- # [00:50] <webben_> (VoiceOver doesn't do anything with longdesc. Then again VO doesn't do anything with tables either.)
- # [00:53] <Philip`> Looks like IE8b2 sets Description to the longdesc text (if any), else the title text (if any), else it's a 'none' value
- # [00:53] <Philip`> (If you have longdesc then the title isn't exposed anywhere that I can see)
- # [00:54] <Philip`> And it sets Name to the alt text (if any), else the title text (if any), else 'none'
- # [00:54] <webben_> What? they drop title if longdesc is present?
- # [00:54] <Philip`> but that's only in standards-mode
- # [00:54] <webben_> Philip`: is your test title the same as the alt or different?
- # [00:55] <Philip`> In quirks mode, the Description is the longdesc else the alt else none
- # [00:55] <Philip`> and the Name is the title else the alt else none
- # [00:55] <Philip`> webben_: Different
- # [00:56] <webben_> this implementation sounds completely crazed.
- # [00:56] <Philip`> Sure :-)
- # [00:56] * Philip` is just using <!doctype html><img src=image alt=alttext longdesc=longdesctext title=titletext> in the Live DOM Viewer to test this
- # [00:56] <webben_> Philip`: I can't remember does either tool show accHelp?
- # [00:57] * Quits: tusho (n=tusho@91.105.98.27)
- # [00:57] <webben_> because I think WebKit dumps title into a help field.
- # [00:57] <Philip`> webben_: Inspect says "Help: none [nimpl]" for images in IE
- # [01:00] <webben_> oh well
- # [01:00] <Philip`> (I don't see any way to get any data out of Safari at all)
- # [01:00] <webben_> not exposing title sounds like a bug worth reporting
- # [01:01] <Philip`> Where could it be exposed?
- # [01:02] <webben_> Philip`: http://msdn.microsoft.com/en-us/library/ms695735(VS.85).aspx (accHelp)
- # [01:03] <webben_> "This property contains balloon-style information (as found in ToolTips) that is used either to describe what the object does or how to use it."
- # [01:03] <Philip`> Ah
- # [01:03] <Philip`> That's not what title text is, though
- # [01:03] <Philip`> (Well, it's balloon-style information, but it's not describing what something does or how to use it)
- # [01:04] <webben_> I don't think MSAA is going to allow the level of granular semantics you're assuming there.
- # [01:04] * Joins: eseidel_ (n=eseidel@72.14.224.1)
- # [01:04] <Philip`> I suppose I'm assuming something more than "stuff into whatever available field is kind of vaguely related to your data" :-)
- # [01:05] <webben_> Sure :)
- # [01:05] <Philip`> I guess it's kind of hard when a single image can have three distinct pieces of descriptive text, and you want to fit it into an application-agnostic API
- # [01:06] <webben_> title in HTML4 is "advisory text"
- # [01:06] <webben_> I think accHelp is best fit there.
- # [01:06] <webben_> I can't remember what HTML5 says (and don't think it matters since for practical web authoring purposes title = tooltip)
- # [01:08] <Philip`> (At least we're getting past the stage where alt = tooltip :-) )
- # [01:08] <Philip`> (except for most of the web, which is in quirks mode and will still work like that for most users)
- # [01:11] <Philip`> Hmm, IE8b2's inline search UI way more complex than in Firefox and Opera
- # [01:12] <Philip`> They both have a labelled box to type into, and Opera also has a close button, and that's it
- # [01:12] <webben_> Philip`: that's not it
- # [01:12] <Philip`> IE has all that, and previous and next buttons, and a meaningless icon button (for Highlight All Matches), and an Options drop-down menu for whole-word and case matching
- # [01:13] <Philip`> plus a little vertical bar after that, for no discernible reason
- # [01:13] * Quits: kingryan (n=ryan@c-24-5-77-167.hsd1.ca.comcast.net)
- # [01:14] * Joins: eseidel__ (n=eseidel@c-24-130-13-197.hsd1.ca.comcast.net)
- # [01:14] * Quits: eseidel (n=eseidel@c-24-130-13-197.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [01:16] <Philip`> Also, IE is the only browser (out of IE, Firefox, Opera, Safari, Chrome) where the scrollbar doesn't quite extend to the edge of the screen, so you have to move your mouse all the way across and then carefully pull it back by a single pixel before you can drag the bar
- # [01:16] <webben_> nm, thought you were talking about find generally.
- # [01:16] <webben_> I don't see why there should be different interfaces for different types of find operation though.
- # [01:17] <Philip`> Ah - Opera's normal ctrl+f dialog box is pretty ugly
- # [01:17] <webben_> what I find annoying about IE's find implementation is that you have to press the tab key to get focus on a found link
- # [01:17] <Philip`> and I didn't know Firefox's ctrl+f had all those extra buttons too
- # [01:17] <webben_> (oh, and you can't afaik just search for link)
- # [01:17] <Philip`> but at least it doesn't embed a dropdown menu in it :-)
- # [01:18] <webben_> Philip`: note also the difference in fx between ' (quickfind links) and " (find everything)
- # [01:18] <webben_> by contrast in other browsers, you can just press enter (or whatever) to follow the link
- # [01:19] <Philip`> By '"', do you mean '/'? (That's what key it seems to be on my copy)
- # [01:19] * Philip` wasn't aware of the find-in-links at all
- # [01:19] * Joins: jdandrea (n=jdandrea@ool-44c09d7b.dyn.optonline.net)
- # [01:19] <webben_> could be (i'm using Fx3 mac)
- # [01:20] <Philip`> I think Opera wins for find-some-text-somewhere-near-a-link-and-then-activate-the-link-by-keyboard because of the spatnav thing, so you just have to get close enough to the link and then it's easy to select
- # [01:22] <webben_> Opera wipes the floor with other browsers for keyboard navigation
- # [01:22] <webben_> (at least other visual browsers)
- # [01:22] <webben_> e.g. quick keys
- # [01:22] * Quits: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [01:22] <Philip`> Oh, right, the vertical bar in IE's find toolbar is so that it can say "No matches found" a million miles away from where your eyes are focussing on the box you're typing into
- # [01:23] <webben_> would be nice if opera had a find-in-links feature too though
- # [01:24] <Philip`> webben_: I think it does, via the ',' key
- # [01:24] <webben_> oooh even more awesome :)
- # [01:26] <Philip`> (Hmm, Firefox and Chrome both make a ding sound and show some red stuff in the search box when there's no matches, which seems sufficiently obvious)
- # [01:26] <webben_> I guess an icon or something works for colorblind/deaf people too?
- # [01:26] <Philip`> (Opera at least puts the "No matches" text directly adjacent to the search text input)
- # [01:27] * Joins: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [01:27] <webben_> that's craziness, related text should obviously be as far away from where you're looking as possible.
- # [01:27] <Philip`> webben_: Firefox says "Phrase not found" too, and Chrome says "0 of 0" too, so I guess that's sufficient
- # [01:28] <webben_> "0 of 0" seems a bit weird.
- # [01:28] <Philip`> webben_: That seems to be the principle behind IE's UI :-)
- # [01:29] * Quits: eseidel_ (n=eseidel@72.14.224.1) (Connection timed out)
- # [01:29] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [01:32] <Philip`> Woah
- # [01:32] * eseidel__ is now known as eseidel
- # [01:32] <Philip`> Chrome does something funny to the scrollbar when you search
- # [01:32] <Philip`> I think it's drawing a little horizontal line corresponding to the position of each match
- # [01:32] <Philip`> but I'm searching the HTML5 spec for "e" so the whole scrollbar is solid yellow and takes three seconds to draw
- # [01:33] <Philip`> ("41 of 149900")
- # [01:34] <jruderman> lol
- # [01:36] <Philip`> Actually, that's kind of neat - I can search for e.g. "database" and it'll show where the highest concentration of mentions is, which is probably where I want to be reading
- # [01:37] <webben_> that does sound neat :)
- # [01:39] <Philip`> Similarly I can search for "XHTML" and see that pretty much all of the body of the spec does not mention it once
- # [01:43] * Joins: nessy (n=nessy@124-171-27-224.dyn.iinet.net.au)
- # [01:44] * weinig is now known as weinig|food
- # [01:46] * Quits: weinig|food (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [02:03] * Quits: othermaciej (n=mjs@c-69-181-42-194.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [02:04] * Joins: othermaciej (n=mjs@c-69-181-42-194.hsd1.ca.comcast.net)
- # [02:13] * Joins: Thezilch (n=fuz007@cpe-76-171-111-7.socal.res.rr.com)
- # [02:15] * Quits: Maurice (i=copyman@cc90688-a.emmen1.dr.home.nl) ("Disconnected...")
- # [02:28] <gsnedders> Lachy: I need to get the photos off those who took them
- # [02:28] <gsnedders> Anyhow, I'm off
- # [02:28] * Quits: gsnedders (n=gsnedder@213.235.51.141) ("Killin' teh intarwebs")
- # [02:52] * Quits: nessy (n=nessy@124-171-27-224.dyn.iinet.net.au) ("This computer has gone to sleep")
- # [02:54] * Quits: tndH (i=Rob@adsl-77-86-6-71.karoo.KCOM.COM) ("ChatZilla 0.9.83-rdmsoft [XULRunner 1.9/2008061013]")
- # [02:56] * Quits: othermaciej (n=mjs@c-69-181-42-194.hsd1.ca.comcast.net)
- # [03:02] * Joins: hdh (n=hdh@58.187.61.211)
- # [03:13] * Joins: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [03:19] * Joins: othermaciej (n=mjs@c-69-181-42-194.hsd1.ca.comcast.net)
- # [03:56] * Quits: jdandrea (n=jdandrea@ool-44c09d7b.dyn.optonline.net)
- # [04:29] * Joins: jdandrea (n=jdandrea@ool-44c09d7b.dyn.optonline.net)
- # [04:41] * weinig is now known as weinig|away
- # [04:41] * Joins: BenMillard (i=cerbera@cpc1-flee1-0-0-cust285.glfd.cable.ntl.com)
- # [04:53] * Quits: weinig|away (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [05:07] * Joins: dglazkov (n=dglazkov@72.14.224.1)
- # [05:17] * Quits: jdandrea (n=jdandrea@ool-44c09d7b.dyn.optonline.net)
- # [06:13] * Joins: eseidel_ (n=eseidel@72.14.224.1)
- # [06:27] * Quits: BenMillard (i=cerbera@cpc1-flee1-0-0-cust285.glfd.cable.ntl.com)
- # [06:27] * Quits: eseidel (n=eseidel@c-24-130-13-197.hsd1.ca.comcast.net) (Read error: 110 (Connection timed out))
- # [06:28] * Quits: dglazkov (n=dglazkov@72.14.224.1)
- # [06:29] * Quits: eseidel_ (n=eseidel@72.14.224.1)
- # [06:38] * Joins: KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net)
- # [07:10] * Joins: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [07:11] * weinig is now known as weinig|away
- # [07:13] * Joins: BenMillard (i=cerbera@cpc1-flee1-0-0-cust285.glfd.cable.ntl.com)
- # [07:34] * Parts: BenMillard (i=cerbera@cpc1-flee1-0-0-cust285.glfd.cable.ntl.com)
- # [07:48] * Quits: csarven (n=csarven@modemcable144.140-202-24.mc.videotron.ca) (Read error: 110 (Connection timed out))
- # [08:15] * Joins: myakura (n=myakura@p4188-ipbf6103marunouchi.tokyo.ocn.ne.jp)
- # [08:26] * Joins: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [08:49] * Quits: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se) (Remote closed the connection)
- # [09:01] * Quits: Thezilch (n=fuz007@cpe-76-171-111-7.socal.res.rr.com) (Read error: 104 (Connection reset by peer))
- # [09:05] * Joins: svl (n=me@ip565744a7.direct-adsl.nl)
- # [09:06] * Joins: starjive (i=beos@213-66-217-32-no30.tbcn.telia.com)
- # [09:11] * Quits: jruderman (n=jruderma@c-67-180-39-55.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [09:13] * Quits: myakura (n=myakura@p4188-ipbf6103marunouchi.tokyo.ocn.ne.jp) ("Leaving...")
- # [09:24] * Quits: svl (n=me@ip565744a7.direct-adsl.nl) ("And back he spurred like a madman, shrieking a curse to the sky.")
- # [09:29] * weinig|away is now known as weinig
- # [09:29] * Joins: tusho (n=tusho@91.105.98.27)
- # [09:39] * Joins: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [09:50] * Quits: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se) (Remote closed the connection)
- # [09:51] * Joins: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [09:56] * Joins: nessy (n=nessy@124-171-27-224.dyn.iinet.net.au)
- # [10:21] * Joins: Maurice (i=copyman@cc90688-a.emmen1.dr.home.nl)
- # [10:41] * Joins: aboodman (n=aboodman@dsl081-073-212.sfo1.dsl.speakeasy.net)
- # [10:45] * Quits: michaeln (n=michaeln@nat/google/x-219cf6259dfeeff8) (Read error: 110 (Connection timed out))
- # [10:50] * Quits: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se) (Remote closed the connection)
- # [10:50] <Hixie> othermaciej: note that google is fully funding someone to work 100% on writing html5, which is a pretty big commitment to standards itself
- # [10:50] <Hixie> othermaciej: also, gears has been doing a lot of work around making their apis compatible with html5's
- # [10:51] <Hixie> i don't know if any of it has shipped yet, but certainly html5 comes up a lot in their code reviews
- # [11:01] * Joins: ROBOd (n=robod@89.122.216.38)
- # [11:01] * Joins: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [11:01] <Lachy> cool, Justin is pushing for someone to fork the spec. http://lists.w3.org/Archives/Public/public-html/2008Sep/0224.html
- # [11:02] <zcorpan> i've gotten webkit to (1) happily create the new document (2) freeze and (3) crash when playing with createDocument(x, y, document.doctype)
- # [11:02] <zcorpan> which one happens depends on y
- # [11:03] * Joins: eseidel (n=eseidel@24.130.9.53)
- # [11:04] <zcorpan> writing web dom core is fun
- # [11:05] <Hixie> Lachy: btw for your study it would be good to have a third (control) group that had no image descriptions, and then compare which of the groups most ably completed the relevant task
- # [11:05] <Hixie> Lachy: (this is to test the hypothesis that detailed out-of-band image descriptions actually help blind users)
- # [11:05] <aboodman> I've decided to go straight for html6, personally.
- # [11:05] <Hixie> aboodman: i'll see you there in a couple of decades :-P
- # [11:08] <zcorpan> ok, DOMImplementation is done
- # [11:09] <zcorpan> or well hasFeature needs expanding
- # [11:09] <heycam> zcorpan, link?
- # [11:09] <zcorpan> http://simon.html5.org/specs/web-dom-core
- # [11:10] <heycam> thanks
- # [11:10] <aboodman> i saw on the blogosphere that ff 3.1 will have worker support
- # [11:10] <aboodman> it isn't clear which version though
- # [11:11] * Quits: eseidel (n=eseidel@24.130.9.53)
- # [11:11] <roc> the current version
- # [11:11] <zcorpan> http://simon.html5.org/sandbox/bookmarklets/reveal-comments might be useful when reading web dom core
- # [11:12] <roc> BenT wrote he'll be updating the syntax to match the current spec before beta1
- # [11:12] <aboodman> roc: as in the current html5 draft?
- # [11:12] <roc> yeah
- # [11:12] <heycam> nice bookmarklet zcorpan!
- # [11:12] <aboodman> cool
- # [11:12] <roc> of course, "the current version" is a variable, not a constant, so ...
- # [11:12] <roc> :-)
- # [11:12] <aboodman> right, i'm a little concerned about that
- # [11:13] <zcorpan> heycam: thanks :)
- # [11:13] <roc> well, this issue comes up whenever we do anything
- # [11:13] * weinig is now known as weinig|zZz
- # [11:14] <aboodman> it's almost as if there is some fundamental design flaw in the way apis are versioned on the web :)
- # [11:14] <aboodman> sorry, couldn't resist
- # [11:14] <roc> well
- # [11:14] <Hixie> i hope people take justin up on his suggestion in http://lists.w3.org/Archives/Public/public-html/2008Sep/0224.html
- # [11:15] <Hixie> i could do with the motivation :-)
- # [11:15] <roc> my response to that is, "APIs are hard"
- # [11:16] <aboodman> i commend you guys pushing forward
- # [11:16] <aboodman> is there a schedule for FF 3.1 somewhere?
- # [11:16] <roc> sort of
- # [11:17] <roc> we were going to try to ship this year, but we won't do that now. Currently I think we're closing for beta1 end of this month, ship early next year
- # [11:17] <annevk> so does that also mean Mozilla will not introduce a second HTTP API in ECMAScript as I saw mentioned somewhere in one of the Workers bugs?
- # [11:17] <roc> annevk: I don't know
- # [11:18] <roc> ask bent
- # [11:18] <aboodman> ah, from the blagoweb, i got the impression 3.1 was upon us
- # [11:18] <roc> it's on a short leash.
- # [11:19] <roc> if you want to find out more, check mozilla.dev.plannng
- # [11:19] <aboodman> thanks
- # [11:19] <roc> or dial in to the project planning meetings, they're public access :-)
- # [11:20] <roc> and the wiki notes are posted to planet.mozilla
- # [11:20] <Lachy> Hixie, I considered a control group, but I figured it wouldn't matter since the questions were only going to be designed to make the user navigate the page, and their final answers didn't really matter. Only whether they used the longdesc="" to access the description
- # [11:21] <Lachy> but I suppose it could also be extended to test the effectiveness of long descriptions
- # [11:21] <Hixie> well there's no point having them even if they navigate to them if they don't actually help
- # [11:21] <Hixie> of course to do this we'd have to find a page with actually useful longdesc=""s
- # [11:21] <Hixie> so as to not bias the study by making up artificial pages
- # [11:21] <Lachy> Joshue's videos already provided observational evidence that the descriptions are useful
- # [11:22] <Hixie> really?
- # [11:22] <Hixie> uri?
- # [11:22] <aboodman> roc: mailing list looks useful, thanks
- # [11:22] <Hixie> i don't recall seeing them be useful
- # [11:22] * Quits: Yudai (n=Yudai@p02fe50.kngwnt01.ap.so-net.ne.jp) (Read error: 113 (No route to host))
- # [11:23] <Lachy> the user he was testing said that they helped him to understand the images better
- # [11:23] <Hixie> the user he was testing also said that summary was useless and then that summary was useful
- # [11:23] <Lachy> yeah
- # [11:24] <Hixie> i mean i have great respect for the guy, but people in usability studies are notorious for thinking everything is useful
- # [11:24] <Hixie> you should see some of our studies at google, where users are like "ooh that rocks" but when we do actual studies to see if it helps them, the features actually hurts them
- # [11:24] <Hixie> it's rather sad
- # [11:24] <Hixie> hurt, even
- # [11:24] <Lachy> that's true, and it's quite obvious that the guy's answers were being influenced by Joshue with the way the questions were asked
- # [11:24] <roc> I've heard of examples like that
- # [11:25] <roc> users like bling even when it slows them down
- # [11:25] <Lachy> can any of the studies Google has done on the issue be published?
- # [11:25] <Hixie> we haven't done anything on longdesc
- # [11:25] <Hixie> as far as i know
- # [11:25] <Lachy> ok. Could you?
- # [11:26] <Hixie> i'd love to, but i doubt it
- # [11:26] <Lachy> it doesn't seem likely that anyone from the accessibility community is interested in doing the one I proposed, nor any others
- # [11:26] <Hixie> we don't really have the infrastructure set up to do studies of non-visual users in their usual environment (which is the only real way to do these kinds of studies for those users)
- # [11:27] <Hixie> i'll mention it to our usability people though, maybe if they do another set of home studies for visually impaired users they can slide that in
- # [11:27] <Hixie> unlikely to happen any time soon though
- # [11:27] <Lachy> ok
- # [11:27] <Hixie> if at all
- # [11:28] * Joins: tndH (n=Rob@adsl-77-86-6-71.karoo.KCOM.COM)
- # [11:28] <zcorpan> you could perhaps do remote studying if the user has a webcam
- # [11:28] <Hixie> (also i could never release the videos, for privacy reasons)
- # [11:29] <roc> Park Google Street View outside their houses and watch through the windows
- # [11:29] <Hixie> hah
- # [11:29] <Lachy> LOL
- # [11:30] <Lachy> the problem with a remote study is that the conditions can't be controlled well
- # [11:31] <zcorpan> but it's a lot cheaper (i guess) so you can do more
- # [11:31] * Quits: Lachy (n=Lachlan@85.196.122.246) (Remote closed the connection)
- # [11:32] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [11:32] <Lachy> I suppose I could email Joshue directly is see if he's willing to do it
- # [11:34] <Hixie> turns out that a lot of blind users don't have webcams. (weird, i know)
- # [11:35] <zcorpan> perhaps you could do studies without webcams
- # [11:35] <Hixie> it's hard to do studies without actually seeing the user
- # [11:35] <zcorpan> yeah
- # [11:35] <Hixie> half the data you get from a usability study is observing the user's body language
- # [11:35] <Hixie> anyway
- # [11:35] <Hixie> if you can get a study, i encourage you to do so
- # [11:36] <Hixie> anything is better than nothing
- # [11:36] <Hixie> even if not ideal
- # [11:37] <Lachy> perhaps a sample website could be set up, provide the questionnaire with it online, and get blind users to complete the study from home. That way we can see where they went from the logs and how they answered the questionnaire. The only problem is eliminating cheaters.
- # [11:38] * Quits: Lachy (n=Lachlan@85.196.122.246) (Remote closed the connection)
- # [11:38] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [11:39] * Quits: weinig|zZz (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [11:39] <Hixie> Lachy: not a bad idea
- # [11:40] * Hixie prepares for a flood of flame mail
- # [11:40] <othermaciej> Hixie: well I hope Google's actions come together and end up being pro-standards
- # [11:41] <othermaciej> Hixie: I certainly don't think any of the technical people involved (many of whom I know) are acting in bad faith
- # [11:41] * Joins: maikmerten (n=maikmert@L8256.l.pppool.de)
- # [11:41] <Hixie> othermaciej: i expect they will. there's a lot of good will, it's just not very well coordinated. Google is a very engineer-driven company, as opposed to manager-driven
- # [11:41] <Hixie> othermaciej: so engineers have to be converted to the standards way, as opposed to being told to "do standards"
- # [11:42] <othermaciej> I know that sometimes combination of business needs and randomness of priorities can lead to weird looking outcomes
- # [11:42] <Hixie> yeah
- # [11:43] <Hixie> that too
- # [11:43] <Lachy> Hixie, I expect you'll get a lot of responses trying to say how the problem longdesc solves is obvious. Although, in all cases I've seen, the information in the description is useful to everyone, not just those with ATs
- # [11:43] <othermaciej> I don't think it is the engineering side of Google that evangelizes other companies to code to Gears APIs but I wouldn't really know
- # [11:43] <othermaciej> in any case hopefully the relevant people are susceptible to public encouragement to do teh right thing
- # [11:43] <Hixie> othermaciej: is there any part of google that evangelizes other companies to code to Gears APIs?
- # [11:44] <othermaciej> Hixie: well, a number were held up as exemplars at Google I/O, with big formal announcements
- # [11:44] <othermaciej> e.g. MySpace
- # [11:44] <annevk> WordPress
- # [11:45] <Hixie> i might be mistaken, but i think google i/o was almost exclusively engineer driven
- # [11:45] <Hixie> but i might be wrong
- # [11:45] <Hixie> so i'll shut up now :-)
- # [11:45] <aboodman> no, there is a heavy dose of marketing at those events
- # [11:45] <Hixie> aboodman would know better
- # [11:46] <aboodman> this ship is going to take some time to turn around
- # [11:47] <aboodman> but it will turn
- # [11:47] <Hixie> annevk: some kind of caching on the web-apps-tracker would be really nice *pleading face*
- # [11:47] <othermaciej> I know Apple at times has misguided people who are for trying to push corners of Web technology in a not-entirely-open direction
- # [11:47] <othermaciej> it is work to keep them at bay
- # [11:47] <Hixie> annevk: right now there are like a dozen connections from html5.org to svn.whatwg.org and it's driving the load up way high
- # [11:48] <othermaciej> and making WebKit be a real open source project instead of bare-minimum passive-aggressive open source was itself a ship that took time to turn around
- # [11:48] <Hixie> yeah i bet that was a hell of a job
- # [11:49] <annevk> oh :/
- # [11:49] <Hixie> annevk: i don't really understand what the cause is
- # [11:49] <aboodman> See the geolocation api as an example of the way I'd like things to work more often.
- # [11:49] <Hixie> annevk: it seems to happen every now and then
- # [11:49] <aboodman> which, btw, i don't think we ever got any apple feedback on ;)
- # [11:50] <annevk> I guess people link to it now and then in channels or so
- # [11:50] * Hixie prods othermaciej for feedback on workers, too :-P
- # [11:50] <othermaciej> Hixie: oh yeah
- # [11:50] * aboodman prods self
- # [11:50] * Quits: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se) (Remote closed the connection)
- # [11:50] <Hixie> annevk: yeah but it always seems to be a random set of revisions
- # [11:50] <othermaciej> I both owe direct feedback and owe more reminders to ap to give feeback
- # [11:50] <annevk> Hixie, oh ok
- # [11:50] <othermaciej> Hixie: you can imagine I have been somewhat distracted in light of recent eents and all
- # [11:50] <annevk> Hixie, is the frontpage less of an issue?
- # [11:51] <annevk> Hixie, because for the frontpage I don't really have an idea how to cache it properly
- # [11:51] <Hixie> annevk: like right now you're hitting web-apps for r2016, r1979, r2002, and r2035
- # [11:51] <Hixie> annevk: well, for the front page you just need the log of recent messages, right?
- # [11:52] <Hixie> annevk: so you could just cache that for five minutes (only hit the server once every five minutes or something)
- # [11:52] <Hixie> annevk: but for per-revision pages, seems like you could cache those forever
- # [11:53] <annevk> the front page does svn log with a limit
- # [11:53] <annevk> an individual revision does svn log + svn diff
- # [11:54] <annevk> yeah, the per-revision pages are easier
- # [11:55] <annevk> hopefully I can do this tonight or tomorrow
- # [11:55] <Hixie> cool
- # [11:55] * Joins: eseidel (n=eseidel@c-24-130-13-197.hsd1.ca.comcast.net)
- # [11:57] <Hixie> hey macdome
- # [11:57] <eseidel> hi Hixie, aboodman
- # [11:59] <aboodman> eseidel? up at 3am? SHOCKING
- # [11:59] <eseidel> aboodman: just got home :)
- # [11:59] <eseidel> hangin w/ some friends. beating Castle CRashers
- # [12:03] <eseidel> an now checkin in with my webkit peeps before betd
- # [12:05] * Joins: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [12:05] <zcorpan> bah, acid3 tests doctype.internalSubset :(
- # [12:05] <zcorpan> in webkit it's always null
- # [12:05] <zcorpan> so clearly it's not needed for web compat
- # [12:07] <zcorpan> Hixie: i want to drop internalSubset from dom core. could you change acid3 to not rely on it?
- # [12:07] <zcorpan> assertEquals(doc.firstChild.internalSubset, null, "internalSubset wrong (first test)");
- # [12:07] <zcorpan> assertEquals(doc.firstChild.internalSubset, null, "internalSubset wrong (second test)");
- # [12:08] <roc> hey I just fixed that in Gecko
- # [12:09] <zcorpan> roc: oh? would you like to keep it in dom core then?
- # [12:09] <roc> I don't really care
- # [12:09] <zcorpan> ok
- # [12:09] <annevk> removing useless code seems like a win
- # [12:09] <roc> it is a bit disturbing that Acid3 tests for it not being present, but doesn't test for it being present
- # [12:10] <annevk> zcorpan, btw, you're not handling undefined in the IDL, should that really become "undefined" everywhere?
- # [12:10] <zcorpan> annevk: dunno
- # [12:10] <zcorpan> annevk: haven't looked at undefined yet
- # [12:10] <Hixie> i've made the test allow the property to be completely absent
- # [12:10] <zcorpan> Hixie: thanks!
- # [12:11] <Hixie> zcorpan: (bear in mind that we'll still have to define what it should do if present, just like e.g. body.vLink will be defined in the "obsolete DOM attributes" section in html5)
- # [12:11] <zcorpan> Hixie: yeah, my plan was to just drop it
- # [12:12] <Hixie> are UAs going to remove support?
- # [12:12] <zcorpan> dunno
- # [12:12] <zcorpan> roc?
- # [12:12] <roc> don't ask me, I just fixed the bug
- # [12:13] <roc> if you remove it from the spec and send us a patch to remove support, I'm pretty sure we'd take it :-)
- # [12:13] <zcorpan> :)
- # [12:13] <zcorpan> opera developers are always happy to remove code
- # [12:13] <roc> I'm not a DOM Guy, I just fixed the bug for fun
- # [12:14] <roc> all developers are always happy to remove code
- # [12:14] <roc> I hope
- # [12:15] <Hixie> all good ones, yes
- # [12:16] <Lachy> Hixie, which test number did you just update?
- # [12:16] <Hixie> (also some bad ones, q.v. debian's changes to ssl keygen...)
- # [12:16] <Lachy> in acid3
- # [12:16] <Hixie> 71
- # [12:16] <Lachy> ok, I'll update our copy on Opera's test server
- # [12:24] <Lachy> oh, did you update test #7 recently too? It had a change that wasn't in my local copy
- # [12:25] * Quits: psa (n=yomode@71.93.19.66) (Remote closed the connection)
- # [12:25] <Hixie> oh yeah
- # [12:26] <Hixie> hmm
- # [12:26] <Hixie> in <div><form></div><input> the input is obviously associated with the form
- # [12:27] <Hixie> but in <form id=a><div><form></div><fieldset form=a><input>, what is the input associated with? form#a, or the second form?
- # [12:28] <Hixie> also, how about <form id=a></form><fieldset form=a><div><form></div><input>
- # [12:30] <Lachy> Hixie, could acid3 be made available via svn or something, so that whenever you make a change, we can just do svn update, instead of having to copy and paste the changes manually?
- # [12:30] * webben_ finds this vaguely amusing: http://www.css-zibaldone.com/articles/logo/creating.html : providing a D-link for a background-image.
- # [12:30] <Hixie> lachy: remind me for acid4
- # [12:30] <Lachy> ok
- # [12:30] <Hixie> Lachy: (i don't want to go through the pain of doing this for acid3)
- # [12:31] <Lachy> ok. In that case, just remember to notify me whenver a change is made so I can update our test server
- # [12:31] * annevk decides to take a look at caching now
- # [12:31] * annevk summons Python IO docs
- # [12:34] * Hixie considers just dropping the fieldset association
- # [12:34] * Joins: virtuelv (n=virtuelv@163.80-202-65.nextgentel.com)
- # [12:34] * Hixie considers dropping form="" altogether
- # [12:35] <zcorpan> Hixie: without form='', how do you do forms for each row in a table?
- # [12:37] <Hixie> you don't, but with form="", i don't know how to make the parsing work
- # [12:37] <Hixie> especially if we have fieldset-scoping
- # [12:37] <zcorpan> we could drop fieldset-scoping
- # [12:38] <Hixie> yeah, that's one of the two things i just said i was considering :-)
- # [12:39] <zcorpan> i mean, i'd rather fieldset scoping was dropped than form='' was dropped :)
- # [12:40] <Hixie> dropped
- # [12:40] <webben_> can't you just make form= take priority over preceding form or fieldset, but not over proceeding form?
- # [12:40] * webben_ maybe quite misunderstanding the problem.
- # [12:41] <Hixie> what would that do to the examples above?
- # [12:41] <Hixie> in <form id=a><div><form></div><fieldset form=a><input>, what is the input associated with? form#a, or the second form?
- # [12:41] <Hixie> and how about <form id=a></form><fieldset form=a><div><form></div><input>
- # [12:41] <Hixie> (and why?)
- # [12:43] <webben_> if </form> getting inferred before </div> there?
- # [12:43] <webben_> *is
- # [12:43] <Hixie> no
- # [12:44] <webben_> that's somewhat confusing
- # [12:44] <webben_> is that for legacy compat?
- # [12:44] <Hixie> yes
- # [12:44] <Hixie> yes
- # [12:44] <Hixie> (search for "form element pointer")
- # [12:49] <webben_> example 1) form=a takes priority over preceeding form, so input is associated with form=a; example 2) input is associated with form.
- # [12:49] <Hixie> why does it take priority?
- # [12:50] <webben_> to follow the apparent declared authorial intent mostly
- # [12:50] <Hixie> i mean, what is the algorithm used to determine that it takes priority?
- # [12:50] <webben_> oh
- # [12:50] * Quits: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se) (Remote closed the connection)
- # [12:50] <Hixie> are we walking the tree every time the parser inserts an <input> element?
- # [12:52] <Hixie> also, in case 2, does changing the id of either form change the association of <input>?
- # [12:52] <Hixie> (consider in particular the case where it changes the association of the <fieldset>, since the <input> is a child of the <fieldset> and not of either form)
- # [12:53] * Joins: jdandrea (n=jdandrea@ool-44c09d7b.dyn.optonline.net)
- # [12:55] <webben_> Hixie: could the parser store something to indicate whether the nearest ancestor was a form= or form?
- # [12:55] <webben_> rather than walking the tree again to find out?
- # [12:56] <Hixie> the DOM can change while the parser is running
- # [12:56] * Joins: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [12:56] <webben_> ah okay, then yes, it would involve walking the tree
- # [12:57] <Hixie> that's not really going to fly
- # [12:57] <webben_> presumably that's expensive, yeah
- # [12:57] <Hixie> also i don't really understand what the condition you are proposing is
- # [12:57] <Hixie> that would give different results in those two cases
- # [12:59] <webben_> Hixie: The thinking is something like: we want to associate an input with a form, but an input can't belong to two forms. So if nearest ancestor is form, it should belong to that. But if nearest ancestor is form= then the author has gone to trouble to specify which form it belongs to,
- # [12:59] <webben_> so it should belong to that.
- # [13:00] <Hixie> then wouldn't it be associated form form#a in both cases?
- # [13:00] <annevk> implemented caching, not sure it works
- # [13:00] <Hixie> cool, thanks
- # [13:00] <hsivonen> Lachy: fwiw, I think JF et al are right about the flaw of your longdesc user testing setup
- # [13:00] <Hixie> will let you know if i see peak load again
- # [13:01] <webben_> no it would be associated with form#a in the first case, since fieldset form=a is nearest ancestor
- # [13:01] <Hixie> webben_: in both cases, the nearest ancestor is a <fieldset form=a>
- # [13:01] <hsivonen> Lachy: otoh, longdesc has been out of the user testing *lab* in the real world for a decade and has failed in the ultimate lab
- # [13:02] <webben_> Hixie: then I'm misunderstanding the form element pointer stuff.
- # [13:02] <webben_> <form id=a></form><fieldset form=a><div><form></div><input> I thought <form> there was an ancestor of <input>?
- # [13:02] <annevk> I did not implement caching for the home page. For individual diff pages, I simply create a file each time a new diff is generated (identifier, from, to, context) and check before the diff is retrieved from svn.whatwg.org whether such a file exists
- # [13:02] <Hixie> webben_: play with hsivonen's live dom viewer to see the dom you would get from the parser
- # [13:03] <Hixie> webben_: the pointer is just set to the last <form> seen, and is reset to null by </form>
- # [13:03] <annevk> so changes to the formatting of the diff should not affect the cache
- # [13:03] <webben_> Hixie: yep, but that's why I thought <form> was the ancestor
- # [13:03] <Hixie> webben_: in the example you just quoted, the ancestors of input are, in reverse order, fieldset, body, html, #document
- # [13:04] <annevk> some algorithm is however certainly possible as we implemented this :)
- # [13:05] <webben_> oh okay, I don't understand that, but yeah in that case fieldset form=a is ancestor, points to form#a and therefore input belongs to form#a ?
- # [13:05] <Hixie> annevk: so what does opera do?
- # [13:06] <annevk> oh, I haven't looked into this
- # [13:07] <Hixie> opera gets different results for:
- # [13:07] <Hixie> <form id=a></form><fieldset><div><form id=b></div><input>
- # [13:07] <Hixie> <form id=a></form><fieldset form=a><div><form id=b></div><input>
- # [13:07] <Hixie> ...which seems like it would be expensive to do reliably
- # [13:07] <Hixie> and thus shouldn't be required by the spec
- # [13:08] <Hixie> (it involves attribute lookups on the ancestor chain during parsing)
- # [13:08] <annevk> well, caching is certainly working
- # [13:08] <Hixie> cool, thanks
- # [13:08] <annevk> contents of the caching folder is growing rapidly :)
- # [13:08] <Hixie> :-)
- # [13:08] <Hixie> who's using the page?
- # [13:09] <Hixie> googlebot?
- # [13:09] <annevk> no bots, they are forbidden per robots.txt
- # [13:09] <webben_> is this hsivonen's live dom viewer? http://parsetree.validator.nu/ ?
- # [13:09] <zcorpan> webben_: no, http://livedom.validator.nu/
- # [13:09] <Hixie> http://livedom.validator.nu/
- # [13:09] <webben_> is there a tools page where all these things are listed?
- # [13:10] <Hixie> damowmow.com/portal/ has a list of some of them
- # [13:10] <Hixie> on the right hand side
- # [13:10] <annevk> sorry for not doing this earlier as it was a twenty minute hack (adding about 10 lines of code)
- # [13:10] <Hixie> np
- # [13:10] <webben_> ah neat
- # [13:10] <Hixie> it wasn't serious, but it was becoming a minor annoyance :-)
- # [13:12] <hsivonen> Hixie: why does form="" affect parsing? isn't it resolved on the above-DOM layer?
- # [13:13] <Hixie> hsivonen: because of the form element pointer
- # [13:13] <hsivonen> Hixie: can't you just say that form='' overrides the form element pointer
- # [13:13] <Hixie> hsivonen: as the spec stood until about 12 seconds ago, form="" would never have any effect, because the form element pointer wasn't conditional on the attribute, and just always set the association
- # [13:13] * Quits: aboodman (n=aboodman@dsl081-073-212.sfo1.dsl.speakeasy.net)
- # [13:13] <hsivonen> Hixie: and have the parser set the pointer always
- # [13:14] * Joins: hasather (n=hasather@90-231-107-133-no62.tbcn.telia.com)
- # [13:14] <Hixie> hsivonen: we can, but then we still don't get <fieldset> association, unless we want to crawl the ancestor chain at some point and decide how we decide what owns what
- # [13:14] <hsivonen> Hixie: so that the above-DOM layer looks at form='' first, form pointer second and containment third
- # [13:14] <hsivonen> oh. right
- # [13:14] <hsivonen> that sucks
- # [13:14] <Hixie> well for now i've dropped fieldset association altogether
- # [13:15] <Hixie> the main use case was table rows
- # [13:15] <Hixie> where it wouldn't help anyway
- # [13:15] <hsivonen> Hixie: but don't parsers have to crawl the ancestor chain for dynamically inserted form controls anyway?
- # [13:15] <hsivonen> s/parsers/browsers/
- # [13:15] <Hixie> they do now, yes, but it's a single crawl at a well-defined time
- # [13:15] <Hixie> (insertion)
- # [13:16] <Hixie> and doesn't involve looking at attributes on the ancestors
- # [13:16] <Hixie> just looking for a form
- # [13:16] * hsivonen tries to find Hixie's bug report in IRC logs
- # [13:16] <Hixie> <dl><dd></span> complained about a </p> iirc
- # [13:17] <hsivonen> Hixie: thanks
- # [13:17] <hsivonen> nope, that's not sufficient
- # [13:17] <Hixie> <dl><dt><dd><span></dd></dl>
- # [13:17] <Hixie> Error: End tag for p seen, but there were unclosed elements.
- # [13:17] <hsivonen> right. Thanks
- # [13:19] <zcorpan> <ol><li><span></li></ol> gives the same
- # [13:19] <annevk> not a single diff request with context other than 10
- # [13:19] <annevk> well, within the last few minutes
- # [13:19] <annevk> I guess I should check again next week or so
- # [13:20] <Hixie> hsivonen: btw, why does the text field jump around when i do a text field validation?
- # [13:20] <hsivonen> Hixie: to order the submission data right
- # [13:20] <Hixie> it's really disconcerting
- # [13:21] <hsivonen> Hixie: would it be better to empty the textarea and stuff the data in a trailing input type=hidden?
- # [13:21] <zcorpan> hsivonen: or disable the textarea?
- # [13:21] <Hixie> well, first i'd ask why you have to do anything at all
- # [13:21] <hsivonen> zcorpan: that might be better
- # [13:22] <Hixie> but you really don't want to be depending on script for something like this
- # [13:22] <Hixie> s/but/and/
- # [13:22] <hsivonen> Hixie: the other fields contain data that the validator has to have before it starts reading the document input
- # [13:22] <zcorpan> Hixie: the feature isn't available without script
- # [13:22] <Hixie> hsivonen: you can't buffer 512 bytes?
- # [13:22] <Hixie> hsivonen: or even 2MB?
- # [13:24] <hsivonen> Hixie: I *could*, but it's much nicer when IO streams
- # [13:25] <hsivonen> Hixie: (I do end up caching the data [as UTF-16 even] for show source)
- # [13:25] <Hixie> hsivonen: seems dubious to me. but if you really want to do it this way, then just have the textarea not be named, and copy it into a hidden field oninput and onchange
- # [13:26] <hsivonen> Hixie: ok.
- # [13:26] <zcorpan> file upload is trickier :)
- # [13:27] <Hixie> incidentally, XMLNS Filter doesn't appear to be a label like the other labels
- # [13:27] <Hixie> oh no
- # [13:27] <Hixie> the text field is jus disabled
- # [13:27] <Hixie> nevermind
- # [13:27] <hsivonen> Hixie: the field should be disabled when the HTML parser is selected
- # [13:28] <hsivonen> Hixie: is type=email staying?
- # [13:28] <Hixie> i have no plans to not merge it in
- # [13:28] <Hixie> which is as close to "yes" as i'm willing to commit :-)
- # [13:28] <hsivonen> Hixie: ok
- # [13:29] <hsivonen> Hixie: do you have plans to change normative references when it comes to non-ASCII characters in type=email?
- # [13:29] <Hixie> i have no plans either way
- # [13:30] <Hixie> i'm not aware of an issue
- # [13:30] <hsivonen> ok
- # [13:30] <Hixie> but i'm sure there's mail about it if there is one
- # [13:31] <Hixie> ok, one attribute down (form). About 150 to go.
- # [13:31] <Hixie> bed time
- # [13:31] <hsivonen> if there's an open-source Java library that implements exactly what type=email parsing requires, I'd like to know
- # [13:31] <Hixie> nn
- # [13:31] <hsivonen> nn
- # [13:32] <annevk> fixed a small bug
- # [13:39] <annevk> I had to specialcase revTo=0
- # [13:40] <annevk> hsivonen, it will change
- # [13:40] <hsivonen> annevk: type=email?
- # [13:40] <annevk> hsivonen, IDN e-mail is under discussion at various places, though currently experimental RFCs only per my understanding
- # [13:41] <hsivonen> sigh
- # [13:41] <annevk> I would expect that to effect type=email long term, yes
- # [13:41] <hsivonen> I suppose I can't fix type=email next week, then
- # [13:41] <annevk> http://www.rfc-editor.org/rfc/rfc5335.txt
- # [13:41] <annevk> http://www.rfc-editor.org/rfc/rfc5336.txt
- # [13:41] <annevk> http://www.rfc-editor.org/rfc/rfc5337.txt
- # [13:41] <hsivonen> I've already postponed it for a *long* time
- # [13:41] <hsivonen> annevk: thanks
- # [13:41] * zcorpan just specced createElement()
- # [13:43] <annevk> zcorpan, shouldn't it match the NCName production?
- # [13:43] <zcorpan> annevk: no
- # [13:43] <annevk> zcorpan, also, I sort of doubt that matches implementations, as I believe browsers have hacks for <div ...> and such
- # [13:43] <zcorpan> annevk: that's createElementNS
- # [13:43] <zcorpan> annevk: hmm
- # [13:43] <zcorpan> need to test that
- # [13:46] <zcorpan> http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0D%0Ax%3Cscript%3E%0D%0Atry%20%7B%0D%0Avar%20e%20%3D%20document.createElement('%3Cdiv%20class%3D%22test%22%3E')%3B%0D%0Aw(e.tagName)%0D%0Aw(e.attributes%5B0%5D.name)%0D%0Aw(e.attributes%5B0%5D.value)%0D%0A%7D%20catch(e)%20%7B%0D%0Aw(e)%0D%0A%7D%0D%0A%3C%2Fscript%3E
- # [13:46] <zcorpan> ie doesn't work for me right now
- # [13:47] <zcorpan> opera, firefox and webkit throw
- # [13:47] <annevk> drop the DOCTYPE
- # [13:48] <annevk> and use something like <div>
- # [13:48] <annevk> works in Firefox (I'm currently using Opera with DOCTYPE override in effect, so there it never works.)
- # [13:49] <zcorpan> http://software.hixie.ch/utilities/js/live-dom-viewer/?x%3Cscript%3E%0Atry%20%7B%0Avar%20e%20%3D%20document.createElement(%27%3Cdiv%3E%27)%3B%0Aw(e.tagName)%0A%7D%20catch(e)%20%7B%0Aw(e)%0A%7D%0A%3C%2Fscript%3E
- # [13:49] <zcorpan> doesn't work in opera or webkit
- # [13:49] <annevk> interesting
- # [13:50] <annevk> maybe someone should slap the Gecko guys then :)
- # [13:50] <zcorpan> :)
- # [13:53] * hsivonen replies to JF against his better judgment
- # [13:54] <zcorpan> should createElement() lowercase the argument?
- # [13:57] * annevk is tempted to say yes
- # [13:58] <hsivonen> is it black-box-testable via localName?
- # [13:59] <zcorpan> hsivonen: yeah, you can see if "BR" creates a linebreak or not
- # [13:59] <zcorpan> hsivonen: and it should be testable via localName too
- # [14:01] <Lachy> hsivonen, re "I agree that Lachlan's research setup has the problem you described" from your latest mail to public-html. I already addressed the problem John described regarding the existing poor implementations by saying it could be done with newer, improved implementations.
- # [14:02] <Lachy> if even newer, improved implementations suffer from the same problem, then there isn't much hope for it in the wild
- # [14:04] <hsivonen> Lachy: the problem your setup has is that it doesn't test how people would behave in a hypothetical sitution if they haven't been able to develop routines in the hypothetical environment
- # [14:04] <hsivonen> Lachy: of course, testing if the hypothetical situation could be useful is pointless if there is no route form where we are to the hypothetical situation
- # [14:06] <Lachy> sure, but that's a fundamental problem with the whole idea of longdesc, because they haven't yet shown that they can even get there. They just seem to be basing their argument on the hope they somehow they will in some unspecified amount of time with some unspecified solution
- # [14:07] <hsivonen> Lachy: I think a decade of failure outside the lab is a much stronger argument that what could be obtained through your test setup
- # [14:08] <Lachy> hsivonen, sure. but the test setup has the advantage of being able to do it with better implementations than is currenlty widely deployed, and the ability to compare 2 different solutions
- # [14:09] <Lachy> it just annoys me how they keep ignoring the alternative solution of using ordinary links, which also has the advantage of making it available to everyone
- # [14:10] <othermaciej> does anyone have the intent of actually performing whatever the test is?
- # [14:10] <Lachy> othermaciej, we would need someone like Joshue who has the resources available to do it. But so far, no-one has volunteered to do it
- # [14:13] <annevk> oops, svn.whatwg.org will still get hits for svn log, even for diff pages
- # [14:13] <zcorpan> should createTextNode raise an exception if it doesn't match the Char production?
- # [14:13] <annevk> but svn log is probably not as problematic as svn diff
- # [14:14] * zcorpan goes with "no"
- # [14:23] <zcorpan> what about createComment? should it throw for "foo -- bar" or "foo -"?
- # [14:24] <jgraham> WDBD?
- # [14:25] <zcorpan> jgraham: ?
- # [14:25] <jgraham> What Do Browsers Do?
- # [14:25] <jgraham> :)
- # [14:26] * jgraham is just passing through on his way to a different desktop
- # [14:26] <zcorpan> http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0D%0Ax%3Cscript%3E%0D%0Atry%20%7B%0D%0Avar%20e%20%3D%20document.createComment('foo--bar')%3B%0D%0Aw(e.data)%0D%0A%7D%20catch(e)%20%7B%0D%0Aw(e)%0D%0A%7D%0D%0A%3C%2Fscript%3E
- # [14:26] <zcorpan> opera strips the dashes
- # [14:26] <jgraham> So maybe I'm not making any sense :)
- # [14:26] <zcorpan> firefox throws
- # [14:26] <zcorpan> webkit allows it
- # [14:27] <zcorpan> i need to get ie working...
- # [14:27] * zcorpan reboots
- # [14:27] <jgraham> Silent data loss sounds bad
- # [14:28] * Parts: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [14:34] * Joins: myakura (n=myakura@p4188-ipbf6103marunouchi.tokyo.ocn.ne.jp)
- # [14:34] * Philip` has filed a bug about Opera stripping slashes in createComment
- # [14:35] * Quits: myakura (n=myakura@p4188-ipbf6103marunouchi.tokyo.ocn.ne.jp) (Client Quit)
- # [14:35] <Philip`> 312761
- # [14:35] <Philip`> because it made my Live HTML5 Parser thing not work as desired
- # [14:36] <hsivonen> Philip`: I apply infoset coercion to make Gecko not throw
- # [14:40] <Philip`> Maybe someone should fork the HTML5 spec and put it on a wiki so anyone can edit it
- # [14:41] <Dashiva> htmlpedia, the web standard anyone can edit?
- # [14:41] <Dashiva> Might be hard to implement
- # [14:41] * Joins: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [14:43] <Philip`> Not at all - you just edit the standard to match your implementation
- # [14:45] <Philip`> annevk: Have you committed the updated web-apps-tracker to SVN?
- # [14:45] <annevk> no, will do that later
- # [14:45] <annevk> tonight I hope
- # [14:45] <annevk> have to go now
- # [14:45] <annevk> well, I had to go -40 minutes
- # [14:50] * Quits: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se) (Remote closed the connection)
- # [14:53] * Quits: virtuelv (n=virtuelv@163.80-202-65.nextgentel.com) ("Leaving")
- # [14:57] * webben_ isn't sure what the advantage of the mailing lists has been over bug trackers and wikis.
- # [14:58] <webben_> mailing lists make it much harder to follow chains of discussion that last months
- # [14:59] <jgraham> hsivonen: I assume David meant "something else that provides long descriptions for images"
- # [15:00] <jgraham> webben_: I'm not sure bug trackers are good for discussion around an issue
- # [15:00] <hsivonen> jgraham: yeah. So I realized just after hitting send. :-(
- # [15:00] <hsivonen> webben_: wikis make it even harder
- # [15:01] <webben_> jgraham: no bug trackers are good for tracking bugs :)
- # [15:02] <webben_> hsivonen: harder how?
- # [15:02] <hsivonen> webben_: AFAICT, wikis don't track the parts you have read, are organized by writer as opposed to reader, don't have good bozo filters, etc.
- # [15:03] <webben_> hmm.
- # [15:03] <webben_> seems like there's a space for some sort of hybrid
- # [15:04] <webben_> where stuff is organized by topic but tracks what you've read.
- # [15:05] * Joins: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [15:06] <Dashiva> Kinda like a mailing list with threads
- # [15:06] <webben_> except threads tend to be very brittle
- # [15:07] <hsivonen> hmm. I guess I should also update my internal English dictionary do choose better between adjacent and juxtaposed
- # [15:07] <webben_> e.g. there are multiple threads about longdesc rather than one topic
- # [15:07] <webben_> and people don't tend to review what's already been said, so there's lots of repetition
- # [15:08] <Dashiva> Trust me, they don't do that on a wiki either
- # [15:08] * webben_ hypothesises that they do it more because it's easier.
- # [15:09] * Quits: maikmerten (n=maikmert@L8256.l.pppool.de) (Remote closed the connection)
- # [15:16] <Philip`> I think it's more a limit of human ability to understand complex discussions that have been going on for months, and no technology is going to solve the problem
- # [15:18] <Dashiva> 1. See interesting thing. 2. Want to comment. 3. I'm important, gotta comment ASAP! No time to read old posts. 4. Hilarity ensues.
- # [15:20] <webben_> I think most of the misunderstandings aren't that complex.
- # [15:20] <Philip`> The misunderstandings make the discussion complex, though
- # [15:21] <webben_> But a lot of the misunderstandings derive from not having searched and read repetitive previous misunderstandings.
- # [15:21] <jgraham> webben_: See theHTML pages on the ESW wiki for evidence of htmlwg related wiki faliure
- # [15:22] <webben_> jgraham: I'd expect the HTML wiki to fail since discussion is happening in multiple places.
- # [15:22] <webben_> wiki + mailing list === even harder to follow previous thinking.
- # [15:24] <zcorpan> ie allows -- in comment
- # [15:25] <zcorpan> i don't want to check for Char anyway so it's possible to create comments that won't serialize, and at that point it's pointless to check for --
- # [15:27] * Joins: weinig (n=weinig@c-71-198-176-23.hsd1.ca.comcast.net)
- # [15:31] <jgraham> zcorpan: Sounds reasonable
- # [15:34] * Joins: gsnedders (n=gsnedder@213.235.51.141)
- # [15:46] <webben_> hsivonen: http://lists.w3.org/Archives/Public/public-html/2008Sep/0233.html : the problem with the real-world lab is that it only tests the UIs that implementors happen to have implemented.
- # [15:47] <webben_> the real-world lab isn't a good test of what _could_ be implemented
- # [15:47] <hsivonen> webben_: the real world takes into account all the constraints implementors are under in the real world :-)
- # [15:47] <hsivonen> webben_: it tests what _would_ be implemented :-)
- # [15:48] <webben_> I see no reason to believe that.
- # [15:48] * Quits: zcorpan (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se) (Remote closed the connection)
- # [15:48] <hsivonen> webben_: so it shows that given the resource allocation constraints implementors have been under for the last decade, the status quo is what we got
- # [15:49] <hsivonen> webben_: results that are produced under real resource allocation constraints are practically interesting
- # [15:50] <webben_> you assume that has predictive power.
- # [15:50] <webben_> I don't.
- # [15:51] <hsivonen> webben_: my point is that in the case of longdesc, we don't need to *predict*, because we can see the results of a grand experiment that has already run its course
- # [15:51] <webben_> er... no you still need to predict
- # [15:51] <webben_> otherwise it would be a meaningless experiment.
- # [15:53] <hsivonen> webben_: well, I guess you can call it predicting that you'd assume longdesc continues to suck if it has sucked for a decade
- # [15:53] <webben_> yes, but I think that's an illogical prediction.
- # [15:54] <hsivonen> webben_: how long would you let longdesc go on and still assume that next year will be different?
- # [15:54] <webben_> (that is, if longdesc continues to suck, I think it would either be a) a set of historical contingencies or b) because of fundamental flaws. I don't think a particular set of contingencies has predictive power or automatically demonstrates fundamental flaws.
- # [15:55] <webben_> hsivonen: i don't think time is a relevant factor at all.
- # [15:55] <webben_> (fwiw implementations do appear to be improving)
- # [15:55] <Dashiva> Time is the most relevant factor of all
- # [15:55] <hsivonen> webben_: even if it were contingencies, the result is that it doesn't work
- # [15:55] <webben_> anything can be made not to work by contigencies.
- # [15:55] <webben_> that's the nature of contingencies.
- # [15:55] <webben_> they don't tell you _anything_
- # [15:56] <webben_> you'd have to actually do a deep analysis of the contingencies to get useful information.
- # [15:56] <hsivonen> webben_: yes, but here we have a case where we know that a) the feature sucks inherently or b) contingencies *did* actualize
- # [15:56] <hsivonen> either way, the feature is ruined
- # [15:56] <webben_> only a) is meaningful if true.
- # [15:56] <hsivonen> unless you believe you can remove the contingencies and make it soar
- # [15:57] <Dashiva> You'd think that if the contingencies could be removed, 10 years would be enough
- # [15:57] <webben_> Dashiva: er... that's 10 years of contigencies
- # [15:57] <hsivonen> Dashiva: right
- # [15:57] <Dashiva> webben_: And 10 years that people could use to remove them
- # [15:57] <hsivonen> webben_: so how do you know they are contingencies instead of permanent constraints?
- # [15:58] <webben_> Dashiva: you don't "remove" historical contingencies.
- # [15:58] <Dashiva> webben_: You either do, or they're permanent
- # [15:58] <hsivonen> webben_: I'd love to define that some ideas would be great if only the stuff from Econ 101 didn't apply
- # [15:58] <webben_> Dashiva: no they're just happenings.
- # [15:58] <Dashiva> Either these contingencies can be removed, in which case 10 years have been wasted. Or they can't, in which case longdesc is inherently flawed.
- # [15:59] <webben_> hsivonen: That would involve an actual analysis of the flaws and whether any of the contigencies were related to their flaws, not just noting that something didn't happen.
- # [15:59] <webben_> "War got declared, therefore peace doesn't work."
- # [16:00] <Dashiva> War tends to get fixed in less than ten years
- # [16:01] <hsivonen> webben_: as far as I can tell, peace doesn't work given the economic incentives of the military-industrial complex
- # [16:01] <jgraham> Turning this around, what would you describe as good evidence that the long term cost/benefit of a feature does not work
- # [16:02] <Philip`> So we should give up trying for peace?
- # [16:02] <Dashiva> No, but we should take the realities into account while trying
- # [16:02] <webben_> jgraham: Actual analysis of costs/benefits. I don't think "time" is inherently relevant.
- # [16:02] <hsivonen> Philip`: no, but the structure of the military-industrial complex needs changing
- # [16:03] <jgraham> webben_: Time is relevant in that it gives us data to compare to our suppositions about the cost/benefits
- # [16:03] <webben_> jgraham: Time is not data in itself.
- # [16:03] <Dashiva> If the feature won't be useful for the next century because of contingencies, why spec it now and not in a hundred years?
- # [16:04] <jgraham> webben_: So? It is a necessary precondition for collecting real-world data
- # [16:04] <webben_> jgraham: Of course. But here time is being treated as data.
- # [16:04] <hsivonen> webben_: I'd expect an economist to be able to estimate the net present benefit of working longdesc
- # [16:04] <webben_> removing any need to actually analyze the data collected
- # [16:04] <webben_> i.e. why did war break out
- # [16:05] <jgraham> For longdesc time has shown that people are not that interested in writing them (hardly surprising) and that UAs are not that interested in implementing it (more surprising)
- # [16:05] <jgraham> It has also shown that when people do try to author it they get it wrong
- # [16:05] <webben_> jgraham: It's a lot more complex than that.
- # [16:05] <webben_> firstly, some UAs do implement it and implementations are, if anything, improving.
- # [16:06] <webben_> second, better authors have long been told to avoid it (unlike with alt).
- # [16:06] <jgraham> webben_: The first part is surely not that much more complex. People just aren't interested in providing detailed textual descriptions of their images
- # [16:06] <webben_> third, most images don't benefit much from long descriptions.
- # [16:07] <webben_> (see "third" above, never mind people not being interested in supporting multiple audiences where they would benefit)
- # [16:07] <jgraham> webben_: So ignoring everyhing else, it's not even that useful as a feature?
- # [16:08] <webben_> that doesn't follow.
- # [16:08] <webben_> "that useful" compared to what?
- # [16:08] <Dashiva> The alternatives
- # [16:09] <jgraham> Compared to not having it at all. Especially compared to the authors spending the same time on other acceibility work
- # [16:09] <hsivonen> webben_: as for "why did the war break out" analogies, can you identify some root thing that needs fixing and that is blocking longdesc like one can identify campaign financing as the first thing that needs fixing before many political problems can be fixed?
- # [16:09] <webben_> jgraham: the authoring time involved in longdesc is infinitesimal. the authoring time involved in writing text equivalents is substantial.
- # [16:10] <jgraham> I don't understand your point
- # [16:10] <webben_> jgraham: i.e. removing longdesc doesn't free up substantial time for doing other accessibility work.
- # [16:11] <jgraham> It does if you spend the time that you would have spent writing long replacements for images doing something else that is more useful
- # [16:12] <webben_> jgraham: er... you're confusing long description and longdesc.
- # [16:12] <webben_> jgraham: long descriptions for images is necessary when it's necessary
- # [16:12] * Joins: csarven (n=csarven@modemcable144.140-202-24.mc.videotron.ca)
- # [16:13] <webben_> jgraham: removing or keeping longdesc doesn't do anything to change the necessity of long descriptions
- # [16:14] <webben_> hsivonen: Based on my experiences talking to implementors about HTML features, I'd say the lack of examples of how to implement it in the HTML4 spec was a contributing factor.
- # [16:14] <webben_> that much, at least, is something HTML5 could fix (if it chooses to keep longdesc at all)
- # [16:14] <Dashiva> But if longdesc is such a rare use, why does it need a special attribute? Why doesn't a link (potentially with ARIA associations) suffice?
- # [16:15] <webben_> Dashiva: what ARIA association?
- # [16:15] <Dashiva> One that fits the bill, the name isn't important
- # [16:16] <jgraham> webben_: You said it wasn't useful for most images. Therefore if an author spent the time that they would have spent on long descriptions on something else entirely like alt text or table headers or whatever that is likely to have a better payoff.
- # [16:17] <jgraham> Even if they do spend the time writing long descriptions burying them in an attribute that many UAs don't support seems like a collosal waste of time
- # [16:17] <hsivonen> webben_: what should HTML5 say about how to implement it?
- # [16:18] <jgraham> Being invisible it also increases the chance the longdesc will get out of sync with the image and so on
- # [16:18] <jgraham> Or go 404
- # [16:19] <Dashiva> Good'ole invisible metadata
- # [16:19] <jgraham> londesc is the design I would choose if I wanted to minimise the chance of the feature suceeding
- # [16:33] * Quits: jdandrea (n=jdandrea@ool-44c09d7b.dyn.optonline.net)
- # [16:34] * Joins: jdandrea (n=jdandrea@ool-44c09d7b.dyn.optonline.net)
- # [16:43] * Quits: eseidel (n=eseidel@c-24-130-13-197.hsd1.ca.comcast.net)
- # [16:43] * Joins: zcorpan_ (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [16:46] <webben_> Dashiva: what's the difference between longdesc and this hypothetical ARIA association?
- # [16:47] <Dashiva> a) the link isn't invisible metadata (unless you make it invisible) and b) it lets accessibility stay in an accessibility spec and c) it avoids any potential confusion-causing overlap between the two
- # [16:48] <hsivonen> b may not be a great thing
- # [16:48] * Quits: zcorpan_ (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se) (Remote closed the connection)
- # [16:48] <Dashiva> hsivonen: In what way?
- # [16:49] <webben_> hsivonen: It could give examples such as indicating longdesc presence on hover with a cursor change or focus with an icon overlay; providing access via shortcut keys and/or context menus; and making the action be open a new browsing context with the URI if a different doc; or just moving focus if it's the same doc.
- # [16:49] <webben_> rather than just saying "oh, btw, you need to provide some sort of mechanism for this"
- # [16:49] <hsivonen> Dashiva: letting accessibility stay in a accessibility spec takes a bolt-on view to accessibility
- # [16:49] <webben_> hsivonen: That's not to say it should mandate a particular UI, but that it should give examples.
- # [16:50] <Dashiva> hsivonen: Well, in this case the accessibility is mapping the image to the link, the link is present to begin with
- # [16:50] <hsivonen> webben_: do you consider iCab's implementation a successful UI?
- # [16:50] <webben_> hsivonen: my one concern with iCab is keyboard focus, but then I think iCab has problems with keyboard interaction anyway.
- # [16:51] <webben_> hsivonen: What do you reckon? Do you reckon it's a bad UI?
- # [16:52] <Dashiva> Oh, and I forgot d) no attribute means people can't misunderstand and put plain text in it
- # [16:52] <hsivonen> webben_: making things discoverable only on hover doesn't seem like good UI design to me unless the appearance of the hoverable item otherwise suggests that it can reveal more stuff
- # [16:53] <hsivonen> the reason why images as links work is that the image itself usually suggests linkness sufficiently
- # [16:53] <webben_> is it?
- # [16:53] <webben_> I thought images as link work because people move the cursor round the screen until it shows a hand icon.
- # [16:54] <webben_> or, alternately, click until something happens
- # [16:54] <Dashiva> That's not images as links, that's any link
- # [16:54] <webben_> well, yes.
- # [16:55] * Joins: zcorpan_ (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [16:55] <zcorpan_> <table summary='Layout table: the first cell contains↩ the type of the return value, the second contains a short description'↩ border='0'>
- # [16:55] <zcorpan_> dom3 core
- # [16:56] <hsivonen> webben_: I'm pretty sure people don't scan every decorative image for linkness usually but instead try to move the cursor over images whose content suggests linkness
- # [16:56] <hsivonen> webben_: do you scan every image just in case?
- # [16:57] <webben_> ditto longdesc presumably.
- # [16:57] * Joins: dglazkov (n=dglazkov@c-24-130-116-76.hsd1.ca.comcast.net)
- # [16:57] <hsivonen> webben_: how do you suggest longdescness visually?
- # [16:57] <webben_> hsivonen: diagrams, charts, important photos
- # [16:58] * Quits: dglazkov (n=dglazkov@c-24-130-116-76.hsd1.ca.comcast.net) (Client Quit)
- # [16:58] <hsivonen> webben_: link-looking images have a much higher linkness rate than those have a longdescness rate
- # [16:59] <csarven> Is there currently even "longdescness"?
- # [16:59] <Lachy> so what is wrong with this solution then: <a href="longdescription"><img src="chart" alt="whatever"></a>?
- # [16:59] <hsivonen> csarven: there is but very, very rarely
- # [16:59] <Dashiva> Some would say it doesn't allow longdesc on link images.
- # [16:59] <Lachy> that makes it accessible to everyone, has the same discoverability as iCab's longdesc-icon-on-hover
- # [16:59] <webben_> Lachy: that would presumably suffer from hsivonen's issue.
- # [16:59] <Lachy> which issue?
- # [17:00] <webben_> Lachy: if you're going to hover over an image to see if it's a link, you can see if it would have a longdesc at the same time.
- # [17:01] <webben_> Dashiva: Is there a use-case for long descriptions on link images? I'm not sure that there is.
- # [17:01] <Lachy> webben_, sure, but people will more easily understand the hand icon than the icon that iCab uses. People know how to click a link and may not expect to check the context menu.
- # [17:02] <zcorpan_> Lachy: if i click on an image link, i don't expect to come to a page explaining the image
- # [17:02] <Dashiva> webben_: That's why I said "some would say" :)
- # [17:02] <Dashiva> I figured it merited mentioning even if I don't agree with it
- # [17:02] <webben_> this would seem to be something worth working out: what people expect if they click a chart or diagram or big photo.
- # [17:02] * Philip` looks at a product on the Tesco web site, and gets a handy "XML parsing failed: syntax error (Line: 30, Character: 361)" failure
- # [17:02] * Quits: hdh (n=hdh@58.187.61.211) (Read error: 104 (Connection reset by peer))
- # [17:03] <Lachy> also, it's common for charts to link to either larger or more detailed versions, which could be included in a page which also has more explanation
- # [17:03] <webben_> hmm actually that's a potential problem
- # [17:03] <webben_> yeah, I guess the usecase for link + longdesc would be
- # [17:04] <Lachy> zcorpan_, when you click an image link in wikipedia, you get a page with more information about that image (although that info generally isn't optimised for accessibility purposes)
- # [17:04] <webben_> <a href="chart.jpg"><img src="chart.jpg" longdesc="description.html" title="Chart of stuff"></a>
- # [17:04] <webben_> oh wait that's need an alt
- # [17:04] <webben_> <a href="chart.jpg"><img src="chart.jpg" longdesc="description.html" alt="Chart of stuff"></a>
- # [17:04] <csarven> webben Links (whether they embed an <img> or not) already has a representation and a user can scan the page and figure out what is a link. @longdesc on the other doesn't. It is hidden.
- # [17:05] <webben_> csarven: ? it's no more hidden than linkiness in iCab or JAWS 10.
- # [17:05] <Lachy> webben_, for that case, just use <a href="description.html">Mimg src="chart.jpg alt="Chart of stuff"></a> and include the larger version of the chart within description.html
- # [17:05] <zcorpan_> Lachy: maybe wikipedia is different because all wikipedia does is explain things -- generally i don't expect to come to a page that explains a word when i click on a text link
- # [17:05] <Lachy> s/Mimg/<img
- # [17:05] <webben_> Lachy: what if you want to link to the image?
- # [17:05] <webben_> should HTML5 advise authors not to link directly to images?
- # [17:05] <Lachy> webben_, for what purpose?
- # [17:05] <zcorpan_> (unless it's a word i don't know and the link points to wikipedia)
- # [17:06] <Lachy> webben_, can you describe a case where an author would want to link to both the image itself and a long description?
- # [17:07] <webben_> if they believed links are easier to use than context menus and wanted to give people easy access to a big image, I guess.
- # [17:07] <zcorpan_> couldn't the long description contain the image?
- # [17:08] <Lachy> webben_, that doesn't really answer the question, and the bigger image can be included in description.html
- # [17:08] <webben_> Lachy: not if you want to allow people to just save the image without using a context menu
- # [17:08] <Lachy> they still need to use the context menu anyway once they're viewing the image
- # [17:08] <zcorpan_> if you want both then it seems more understandable to have two links under the image "(large version, description)"
- # [17:09] <webben_> Lachy: they don't they can use the File menu
- # [17:09] <webben_> or the save keyboard shortcut
- # [17:10] <Lachy> webben_, I think that's just a hypothetical situation, and you're ignoring the fact that most users are already familiar with how to save an image within a page
- # [17:10] <webben_> "most users" ... are they really?
- # [17:10] * webben_ would be interested if they are.
- # [17:10] <webben_> are you saying they're familiar with using context menus to manipulate images?
- # [17:11] <zcorpan_> some people i know weren't familiar with how to save images but they could figure it out on first try
- # [17:12] <zcorpan_> but perhaps they were smarter then the average user :)
- # [17:13] <webben_> or just more ui-canny.
- # [17:13] <Lachy> webben_, I'm sure you wouldn't doubt that more people would know how to save an image from a context menu than they would access a long description from it
- # [17:14] <webben_> Lachy: Yep, but I think the learning process involved in both seems much the same.
- # [17:14] <webben_> it's just that in IE, that isn't a context menu option, and there's no hint the image has a long description.
- # [17:15] <zcorpan_> you can save every image there is but every image doesn't have a long description
- # [17:15] <webben_> zcorpan_: that's the point of the hover/focus indicator?
- # [17:15] <Lachy> perhaps, but saving images is several orders of magnitude more common that accessing a long description, so people are likely to learn and remember it more easiliy than they would with longdesc
- # [17:15] <webben_> same as with links
- # [17:16] <zcorpan_> webben_: then the indicator needs to be understandable by average users :)
- # [17:16] <webben_> zcorpan_: just as with links
- # [17:16] <webben_> I think iCab's indicator does a reasonable job. could be a bit bigger maybe.
- # [17:16] <zcorpan_> perhaps a baloon saying "this image has a description - click here to open it in a new tab"
- # [17:17] <webben_> well, that could interfere with title
- # [17:17] * zcorpan_ doesn't know about iCab's indicator
- # [17:17] <Lachy> regardless of the size of the icon, the icon itself is very meaningless
- # [17:17] <Lachy> I tested it and if you hadn't told me it was for long descriptions before I saw it, I wouldn't have had a clue
- # [17:18] <zcorpan_> webben_: why would it?
- # [17:18] <webben_> Lachy: would you have a clue what a hand icon means before experimenting?
- # [17:18] <Lachy> and the icon for when an image is a link and has a longdescription is even more confusing
- # [17:18] <webben_> zcorpan_: what, showing two balloons?
- # [17:18] <zcorpan_> webben_: yeah
- # [17:18] <zcorpan_> webben_: or one baloon with two lines
- # [17:18] <Lachy> the hand icon suggests that I should do something with my hand, and the obvious thing to do is either move the mouse or click it
- # [17:19] <Lachy> and since it has the index finger extended, that suggests clicking is more likely
- # [17:19] <webben_> if you're using a mouse yes
- # [17:20] <webben_> if you're using a touchpad, less so.
- # [17:20] <Lachy> if I'm using a touch pad, my index finger is still extended in much the same way as depicted in the icon
- # [17:20] <webben_> but it's not clicking all the time
- # [17:21] <webben_> (incidentally, my hand looks nothing like that when using a touchpad, but maybe I'm just odd)
- # [17:21] * Lachy thinks this debate is pointless; goes to do something more productive
- # [17:21] * Quits: Lachy (n=Lachlan@85.196.122.246) (Remote closed the connection)
- # [17:21] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [17:22] * Quits: Lachy (n=Lachlan@85.196.122.246) (Remote closed the connection)
- # [17:22] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [17:22] <webben_> zcorpan_: maybe, not sure what that would look like.
- # [17:23] <zcorpan_> webben_: e.g. a baloon above or under the image and title as a normal tooltip
- # [17:24] <webben_> could work.
- # [17:25] <webben_> i'd be a bit scared of it interacting with weird ways with JS-based tooltips
- # [17:25] <webben_> *in weird ways
- # [17:25] <zcorpan_> icons in my systray can have both a balloon and a tooltip
- # [17:25] <zcorpan_> yeah but if you have a js-based tooltip then you could use that instead of longdesc
- # [17:26] <webben_> unless you're using it to work around limitations of title
- # [17:26] <webben_> or for some other weird reason
- # [17:27] * Quits: Lachy (n=Lachlan@85.196.122.246) (Remote closed the connection)
- # [17:29] <webben_> Dashiva: with (a) longdesc does not exclude also having a link (it just makes the relationship between URI and image programmatically determinable). a link does not exclude being hidden (and thus not accessible to users).
- # [17:30] <Dashiva> So you'd rather have redundancy?
- # [17:30] <Dashiva> That's even worse for avoiding link rot
- # [17:31] <webben_> Dashiva: do you mean specifying the URI twice by "redundancy"?
- # [17:31] <Dashiva> Yes
- # [17:31] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [17:31] <webben_> Dashiva: No, I'd rather the URI was specified once.
- # [17:32] <webben_> but linked to the image in a programmatically determinable way
- # [17:32] <webben_> I haven't yet seen any ARIA markup that does that for a description that isn't on the same page.
- # [17:32] <webben_> and the fate of describedby in HTML5 is less than clear anyways
- # [17:33] <Dashiva> You associate to the link on the same page, and the link associates naturally to the other page
- # [17:33] <webben_> Dashiva: if it was actually specified like that, then sure.
- # [17:33] <webben_> i.e. if it was clear to implementors that describedby pointing an a href means that the target page is the description.
- # [17:35] <Dashiva> Surely it would be clear to the users even without that?
- # [17:35] <webben_> only if they explored around the page
- # [17:35] <webben_> not if they navigating by image
- # [17:35] <Dashiva> They'd get an image which says "I'm described by this here element"
- # [17:35] <Dashiva> And if that element is a link, following it would be natural wouldn't it?
- # [17:35] <webben_> oh I see what you mean.
- # [17:36] <webben_> perhaps, but _if_ that is the natural behavior, why couldn't one specify that for the user agent?
- # [17:36] <webben_> either it is the natural behavior but wrong in some cases, or you can simply map the URI to the img?
- # [17:36] <Dashiva> One could, I'm just suggesting it would work without as well
- # [17:36] <webben_> it would work, perhaps, but less well.
- # [17:37] <Dashiva> webben_: Ah, but just describedby allows inline descriptions as well
- # [17:37] <Dashiva> If the element is something else, e.g. a paragraph or table
- # [17:38] <webben_> yes, i'm only talking about the specific case when describedby points to an element with an href.
- # [17:38] * Quits: nessy (n=nessy@124-171-27-224.dyn.iinet.net.au) ("This computer has gone to sleep")
- # [17:38] <webben_> not the general case where describedby points to an element.
- # [17:38] * Joins: hdh (n=hdh@58.187.61.211)
- # [17:38] <Dashiva> And you'd want to put the URI directly in the image then?
- # [17:38] <webben_> I'm not sure what that means.
- # [17:38] <Dashiva> In the image elmeent's markup, instead of a separate link
- # [17:38] <webben_> not necessarily.
- # [17:39] <webben_> like I said, from my perspective, a link is fine as long as it can be associated programmatically with the image.
- # [17:39] <webben_> and it would be better if you could spec for UAs to minimize user effort.
- # [17:39] <webben_> (e.g. by treating the href target as the description)
- # [17:39] <Dashiva> I think I see three different cases. Link to on-page content, link to off-page content with visible link, link to off-page content with invisible link.
- # [17:40] <Dashiva> The last one being essentially longdesc
- # [17:40] * zcorpan_ defines NodeList in terms of HTML5 "collection"
- # [17:40] <webben_> or <a href=""> that's hidden.
- # [17:40] <Dashiva> Exactly
- # [17:41] <Dashiva> So by using an association, we can get the same effect as longdesc, as well as the other two cases, with only a single attribute
- # [17:42] <webben_> yeah, I'm not arguing for longdesc intrinsically (although I think its faults have been overstated); I think programmatic association is useful. I'm just saying that we should hone the association as much as possible.
- # [17:42] <webben_> to make navigation as fast as possible.
- # [17:42] <Dashiva> That's a good thing.
- # [17:44] <webben_> Dashiva: Can you see any problem with a UA treating the href target of an element pointed to by describedby as the description, as opposed to the UA presenting the element itself as the description? (in the case where the element does have an href)
- # [17:44] <Dashiva> If page loading time (or cost) is important, perhaps
- # [17:45] <webben_> could you elaborate on that?
- # [17:45] <Dashiva> The user might want to be made aware if the description is a different resource
- # [17:46] <webben_> Dashiva: it could do that with the UI.
- # [17:46] <webben_> Dashiva: for example, Firefox or IE could map that uri exactly as they do longdesc
- # [17:46] <webben_> then JAWS could announce "Long description available" and the user could use their shortcut key to access it.
- # [17:47] <webben_> (this is assuming Firefox/IE are exposing it (IE8 is), rather than JAWS trying to dig it out of the DOM, however)
- # [17:47] <webben_> but at any rate that shows the UI that could be created.
- # [17:47] <webben_> or JAWS could say "same page description available"
- # [17:47] <Dashiva> Yeah, something like that should work
- # [17:49] * Joins: dglazkov (n=dglazkov@c-24-130-116-76.hsd1.ca.comcast.net)
- # [17:49] <Dashiva> Do you think UAs would -not- do that, in the case where it was not specified?
- # [17:50] <Dashiva> It seems like value added then as well
- # [17:50] * Quits: dglazkov (n=dglazkov@c-24-130-116-76.hsd1.ca.comcast.net) (Client Quit)
- # [17:50] <webben_> It's entirely possible they might not. I think relying on UAs to implement things sensibly is over-optimistic.
- # [17:50] <webben_> if HTML5 assumes something can be inferred it should specify that assumption.
- # [17:51] * Quits: zcorpan_ (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se) (Remote closed the connection)
- # [17:51] <hsivonen> webben_: the spec should indeed have well-defined algorithms for inferences
- # [17:51] <webben_> especially for this sort of thing, where developer effort is likely to be concentrated on issues like "How the heck do we get our users access to the Microsoft Office Ribbon?"
- # [17:51] <webben_> (but really, for everything)
- # [17:52] <webben_> not specifying stuff got HTML4 into a lot of problems
- # [17:54] <Dashiva> Would this be the same assocation as between a figure and its legend, or is there a semantic difference?
- # [17:57] <webben_> Dashiva: a legend might just be a title like "Chart of commodity prices" mightn't it?
- # [17:57] <webben_> rather than (say) a paragraph summarizing the trends + a data table on a separate page
- # [17:59] <Dashiva> Yeah
- # [18:27] * Joins: zcorpan_ (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [18:29] <zcorpan_> hmm... if i have text/html "<math><x:y>" and then do document.importNode(theMathElement, true) from another html document, should that raise INVALID_CHARACTER_ERR or not?
- # [18:30] <zcorpan_> or actually, the same question applies to a normal html element <x:y>
- # [18:40] <zcorpan_> copying a node between two documents should perhaps not do any checking at all if you copy to an html document
- # [18:43] <Dashiva> As long as it's all DOM nodes being moved around (i.e. no serialization) it seems a bit odd to do error checking
- # [18:45] <csarven> Does @scope only apply to <th> ?
- # [18:50] * Quits: zcorpan_ (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se) (Remote closed the connection)
- # [18:51] * Joins: zcorpan_ (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [18:51] <zcorpan_> Dashiva: yes but the dom does error checking all over the place
- # [18:52] * Joins: Thezilch (n=fuz007@cpe-76-171-111-7.socal.res.rr.com)
- # [18:53] <Dashiva> zcorpan_: So raise the same exception that would be raised if you attempted to create the element within the destination document?
- # [18:53] <zcorpan_> Dashiva: the innerHTML getter in xml documents assume that the error checking that the dom does has taken place so not doing it when moving nodes between documents would break innerHTML and render the rest of the error checking useless
- # [18:53] <zcorpan_> Dashiva: yeah
- # [18:54] <Dashiva> I suppose that's equally consistent
- # [18:54] <zcorpan_> Dashiva: i think it only needs to check nodeName for elements and attributes against the Name production
- # [18:54] <zcorpan_> but i'm not sure
- # [18:54] <hsivonen> IMO DOM error checking is useless
- # [18:54] <hsivonen> either it should check *everything* like XOM or nothing
- # [18:54] <zcorpan_> hsivonen: should i check everything?
- # [18:54] <csarven> Is there any mechanism in HTML 4 or 5 that can be used to scope values locally? Sort of like prefix mappings in RDFa. For instance, when rel="license" is used in HTML 4 it is signifying the relationship between the current document and the destination resource. In this case, it is not about a particular section in the document.
- # [18:54] <hsivonen> zcorpan_: no, due to compat considerations
- # [18:55] <zcorpan_> hsivonen: yep right
- # [18:55] <Dashiva> Is it bad that I know the urls to most DOM specs by heart?
- # [18:55] * Quits: Thezilch (n=fuz007@cpe-76-171-111-7.socal.res.rr.com) (Client Quit)
- # [18:56] <zcorpan_> hsivonen: i can't really remove the error checking either
- # [18:56] <hsivonen> zcorpan_: why?
- # [18:56] <zcorpan_> hsivonen: acid3 tests it :)
- # [18:57] <hsivonen> fun
- # [18:58] * Quits: jdandrea (n=jdandrea@ool-44c09d7b.dyn.optonline.net)
- # [18:58] <zcorpan_> i've actually added more checks
- # [18:58] <zcorpan_> but perhaps i should try to remove checks instead
- # [18:58] <Dashiva> zcorpan_: It seems document.createElement('a:b') should work. Core3 says to check for the XML 'Name' production, which contains ':' as far as I can see
- # [18:58] <zcorpan_> Dashiva: yeah
- # [18:59] <Dashiva> So as you said, importing into a HTML document should work
- # [18:59] <hsivonen> actually, I revise my all or nothing stance to XML API checking
- # [19:00] <hsivonen> it also makes sense to check potentially user-entered values (text content, attribute values, perhaps PI data and comments) but not check application programmer-entered data (element and attribute names)
- # [19:01] <hsivonen> DOM has this exactly backwards, of course
- # [19:01] <zcorpan_> hsivonen: should i check against Char for text etc?
- # [19:02] <hsivonen> at this point of the API's life, probably not
- # [19:02] <hsivonen> I really don't know what to do with the DOM
- # [19:02] <webben_> csarven: Well, HTML5 currently says: "Hyperlinks created with the link element and its rel attribute apply to the whole page. This contrasts with the rel attribute of a and area elements, which indicates the type of a link whose context is given by the link's location within the document."
- # [19:02] <webben_> http://www.whatwg.org/specs/web-apps/current-work/#rel
- # [19:02] <hsivonen> I'm just ranting in with 20/20 hindsight
- # [19:03] <hsivonen> checking for Char before serializer would be bad for perf
- # [19:03] <webben_> csarven: No idea what UA behavior that's supposed to imply in terms of how a is scoped.
- # [19:03] <zcorpan_> hsivonen: indeed
- # [19:03] <webben_> csarven: eRDF uses HTML4 #id to scope rel, which (I think) breaks the HTML4 rel semantic.
- # [19:04] <csarven> True.
- # [19:06] <zcorpan_> i've added the following checks that weren't in dom3: doctype.publicId match XML publicChar, doctype.systemId not contain both ' and ", pi.target not contain "xml" or colon
- # [19:06] <webben_> csarven: so I guess you'd still need to use class="licence" with a defined algorithm if you wanted to guarantee correct processing.
- # [19:09] <zcorpan_> hmm i thought acid3 tested it but i can't find it
- # [19:14] * Quits: Amorphous (i=jan@unaffiliated/amorphous) (Read error: 110 (Connection timed out))
- # [19:15] <zcorpan_> would be nice to remove error checking from the dom
- # [19:16] * Joins: epeus (n=KevinMar@72.14.224.1)
- # [19:16] <zcorpan_> it would be incompatible with ie's createElement('<div class="test">') though
- # [19:17] <zcorpan_> but perhaps we can specify that while we're at it
- # [19:18] * Joins: jdandrea (n=jdandrea@ool-44c09d7b.dyn.optonline.net)
- # [19:18] * zcorpan_ comments out the added error checks for now
- # [19:18] * Joins: Amorphous (i=jan@unaffiliated/amorphous)
- # [19:18] * Joins: jruderman (n=jruderma@c-67-180-39-55.hsd1.ca.comcast.net)
- # [19:22] <zcorpan_> what's really sad is that you have to do two checks: once for Name and again for NCName
- # [19:23] <zcorpan_> and throw different exceptions
- # [19:23] * Quits: KevinMarks (n=KevinMar@c-98-207-134-151.hsd1.ca.comcast.net) (Connection timed out)
- # [19:23] <zcorpan_> i guess i can eliminate that and just check for NCName
- # [19:24] <zcorpan_> hmm i'll try to drop attribute nodes too
- # [19:25] <Philip`> http://www.singaporeair.com/saa/index.jsp - <META NAME="description" CONTENT=<fmt:message key="description" bundle=s"${mr}"/>> - oops
- # [19:26] <Philip`> (That slightly confusingly results in a ">" being rendered)
- # [19:51] * Quits: zcorpan_ (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se) (Remote closed the connection)
- # [19:55] * Joins: mal2 (n=mal@nat/google/x-e39293bc941ec3ca)
- # [20:08] * Quits: mal (n=mal@nat/google/x-a3e2da8b567e00aa) (Read error: 110 (Connection timed out))
- # [20:12] * Joins: zcorpan_ (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [20:19] * weinig is now known as weinig|away
- # [20:31] * Quits: jdandrea (n=jdandrea@ool-44c09d7b.dyn.optonline.net)
- # [20:37] * Joins: othermaciej_ (n=mjs@c-69-181-42-194.hsd1.ca.comcast.net)
- # [20:37] * Quits: othermaciej (n=mjs@c-69-181-42-194.hsd1.ca.comcast.net) (Read error: 104 (Connection reset by peer))
- # [20:39] * Quits: hdh (n=hdh@58.187.61.211) (Read error: 104 (Connection reset by peer))
- # [20:42] * Joins: nate_m (n=nem@c-67-163-253-137.hsd1.pa.comcast.net)
- # [20:43] * Joins: hdh (n=hdh@58.187.61.211)
- # [20:46] <nate_m> Is the html5lib patch for lxml compatibility talked about at http://krijnhoetmer.nl/irc-logs/whatwg/20071113 online anywhere?
- # [20:47] <Philip`> nate_m: That was a long time ago - lxml ought to work properly in default html5lib now
- # [20:47] * Joins: jdandrea (n=jdandrea@ool-44c09d7b.dyn.optonline.net)
- # [20:50] * Quits: zcorpan_ (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se) (Remote closed the connection)
- # [20:54] * Quits: jdandrea (n=jdandrea@ool-44c09d7b.dyn.optonline.net)
- # [20:56] <nate_m> testing with lxml 2.1.1 and html5lib 0.11.1 fails
- # [20:57] <Philip`> Could you give an example of the code you're running that fails?
- # [21:01] <nate_m> Yeah, just a minute
- # [21:03] <nate_m> >>> from lxml import etree
- # [21:03] <nate_m> >>> import html5lib
- # [21:03] <nate_m> >>> from html5lib import treebuilders
- # [21:03] <nate_m> >>> parser = html5lib.HTMLParser(tree=treebuilders.getTreeBuilder('etree', etree))
- # [21:03] <nate_m> fails
- # [21:03] <jgraham> nate_m: That's not expected to work anymore
- # [21:04] * Joins: maikmerten (n=maikmert@L8256.l.pppool.de)
- # [21:04] <jgraham> Try html5lib.HTMLParser(tree=treebuilders.getTreeBuilder('lxml'))
- # [21:04] <nate_m> Well I got that from the doc on the code.google.com site
- # [21:05] <nate_m> but i'll try the other
- # [21:05] <jgraham> Oh. That's probably my fault
- # [21:06] <nate_m> You version does work, but i suppose you know that
- # [21:06] <nate_m> it also seems that parser = html5lib.HTMLParser(treebuilders.getTreeBuilder('etree', lxml.etree)) works too.
- # [21:09] <nate_m> althought that really not the same as it is setting strict to the result of treebuilder.getTreeBuilder
- # [21:09] <nate_m> rather than tree
- # [21:10] <jgraham> We really have to change that API. I wonder how many people would complain
- # [21:11] <jgraham> (because the strict thing is useless but the tree thing is important)
- # [21:14] <nate_m> Thanks for the help
- # [21:14] * Quits: nate_m (n=nem@c-67-163-253-137.hsd1.pa.comcast.net) ("Leaving.")
- # [21:30] * Joins: zcorpan_ (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se)
- # [21:39] * Joins: harig (n=harig_in@85.196.122.246)
- # [21:42] * Quits: hdh (n=hdh@58.187.61.211) (Remote closed the connection)
- # [21:44] * weinig|away is now known as weinig
- # [21:45] * Joins: svl (n=me@ip565744a7.direct-adsl.nl)
- # [21:46] <Lachy> hey, I started designing a new layout for the various HTML5 tools. http://html5.lachy.id.au/beta/
- # [21:46] <Lachy> It's still very much a work in progress and nothing is functional yet. But I'm going to try and incorporate many of the tools we have spread across several different sites.
- # [21:49] * Joins: eseidel (n=eseidel@c-24-130-13-197.hsd1.ca.comcast.net)
- # [21:50] * Quits: maikmerten (n=maikmert@L8256.l.pppool.de) (Remote closed the connection)
- # [21:50] * Quits: zcorpan_ (n=zcorpan@c-cb21e353.1451-1-64736c12.cust.bredbandsbolaget.se) (Remote closed the connection)
- # [21:56] <webben_> Lachy: looks handy :)
- # [22:01] <Dashiva> I see JF still thinks there's an infinite amount of time and resources for accessibility
- # [22:07] <Hixie> man this longdesc discussion is like the definition of putting the cart before the horse
- # [22:07] <Philip`> and the horse might not even exist
- # [22:09] <Dashiva> And the cart is too heavy for any known horse to drag
- # [22:10] * Quits: roc (n=roc@121-72-162-122.dsl.telstraclear.net)
- # [22:11] <webben_> Hixie: Can you forsee any problem with speccing describedby where, if describedby pointing to an element with href, the target of the href should be understood as the description, rather than the content of the element?
- # [22:12] <webben_> because that could be a way of allowing much the same UI as longdesc allows but using an <a href="">
- # [22:13] <webben_> and it _might_ be possible for UAs to make it backwards compatible with screen readers that support longdesc now.
- # [22:13] <webben_> while old visual browsers would still at least get the visible link
- # [22:14] <Hixie> webben_: what problem would it be solving?
- # [22:14] <webben_> Hixie: programmatic association of description with img.
- # [22:15] <Hixie> that's not a problem it's a solution
- # [22:15] <jgraham> So apart from anything else, I don't understand why it is that there is general agreement that only a very few people will ever bother with longdesc but it is being argued that those people will still have visual design constraints that will prevent then putting <a href="longdesc.html">longer description</a> in the figure's caption
- # [22:15] <webben_> oh, sorry, yes, rapid navigation.
- # [22:15] <Hixie> rapid navigation of what?
- # [22:15] <Hixie> i'm confused
- # [22:15] <Hixie> can you show me a page where there is this problem?
- # [22:15] <webben_> images
- # [22:16] <webben_> any page with an image and a description of the image
- # [22:16] <webben_> (off-page on on-page)
- # [22:16] <webben_> *or
- # [22:16] <Hixie> seems like the right solution is for the image to be hidden altogether from the user and for the description to be given inline
- # [22:17] <Hixie> why taunt the user by letting him know there's an image in the first place?
- # [22:17] <webben_> they might want to share the image. they might be referred to the image.
- # [22:18] <webben_> pulling the description inline from elsewhere could really mess up presentation of the page too
- # [22:18] <Hixie> do you have something more concrete? this seems very hypothetical.
- # [22:18] <webben_> replacing img with DOM from elsewhere seems rather hypothetical to me.
- # [22:18] <Hixie> who ever said anything about doing that?
- # [22:18] <Hixie> give me a url
- # [22:18] <webben_> what are you saying?
- # [22:18] <Hixie> and i will explain what i mean
- # [22:18] <Hixie> with that page as example
- # [22:19] <Hixie> (the url of a page with an image that is described)
- # [22:19] <webben_> righto
- # [22:19] <Hixie> (and described in a way that helps the user more than if the user didn't have access to a description)
- # [22:19] <Hixie> (it can be a fake demo page if you want)
- # [22:19] <Hixie> (since finding a real page that fufills those conditions is pretty hard)
- # [22:20] <webben_> indeed, thanks to people assuming graphics are easier follow
- # [22:21] * othermaciej_ is now known as othermaciej
- # [22:24] * Quits: ROBOd (n=robod@89.122.216.38) ("http://www.robodesign.ro")
- # [22:26] <webben_> Hixie: actually the WAI longdesc example does this, since it has an actual link to the description from the same page as the chart: http://www.w3.org/WAI/wcag-curric/sam3-0.htm
- # [22:26] <Hixie> (wow that's horrific alt="" text)
- # [22:26] <Hixie> (and in a WAI spec no less)
- # [22:27] <webben_> the alt text is fine by HTML4's definition.
- # [22:27] <Hixie> Per HTML5, what is currently in longdesc="" for that page should just be in the alt="".
- # [22:27] <webben_> you can't put lists in alt
- # [22:27] <Hixie> so use <object>
- # [22:28] <Hixie> or, just put the description inline right next to the image, and use alt="", so that all users can benefit
- # [22:28] <Hixie> and not just those who have images hidden
- # [22:28] <jgraham> webben_: That longdesc is substantially more useful to me than the chart
- # [22:28] <webben_> jgraham: Me too. :)
- # [22:28] <jgraham> So why hide it in an attribute that almost no one can access?
- # [22:28] <Lachy> jgraham, webben_ agreed. The description helps *everyone*
- # [22:28] <Dashiva> I imagine many complex images have longdesc that's semantically a table. Which will then apparently need a separate @summary. Oh ho.
- # [22:28] <Hixie> of the four solutions proposed here -- inline text, alt="", <object> fallback, and longdesc="" -- longdesc is the worst solution here
- # [22:29] <webben_> jgraham: er... that's not what I'm arguing for is it?
- # [22:29] <Lachy> don't hide it from me, even if you want to put it on a separate page for design reasons or whatever. Just use a normal link
- # [22:29] <Hixie> or just put it inline on the page
- # [22:29] <jgraham> webben_: Er, I'm not paying much attention to be honest
- # [22:29] <jruderman> "Future browsers or other agents will provide an optional a link to the description file called "graph1.htm"." such optimism
- # [22:29] <Hixie> five solutions. inline text, <a href="">, alt="", <object> fallback, and longdesc="". longdesc="" is the worst.
- # [22:30] <webben_> jgraham: I'm talking about programmatic associations between the <a href="graph1.htm" and the img.
- # [22:30] <Hixie> both for visually impaired users and for everyone else.
- # [22:30] <Lachy> The 5th and 6th solutions are 5) <a href="desc"><img ...></a> and 6)<img ...> <a href="desc">more information</>
- # [22:30] <jgraham> <figure>
- # [22:31] <webben_> jgraham: longdesc happens to do that, but I'm talking about whether describedby could provide the same mechanism without repeating the uri.
- # [22:31] <Lachy> webben_, I don't understand how you want to use describedby
- # [22:31] <jgraham> In fact <figure> + <details> could be neat
- # [22:31] <webben_> Lachy: well in that case, you'd stick an id on the link and refer to it from img with describedby
- # [22:32] <Hixie> i would personally mark it up as <img src="graph.png" alt=""><p>Ice Cube Tray sales tend to be higher further South, and tend to decline in autumn.</p><details><legend>Data</legend><dl><dt>Far North</dt><dd>Sales were 3, 4, 2, and 1 ice cube trays from...
- # [22:33] <Hixie> no need to associate the image with the data -- in fact, no need to even show the image at all when the user can't view images
- # [22:33] <Hixie> it should be redundant with the text, thus alt="".
- # [22:33] * Lachy agrees with Hixie, except s/autumn/spring/
- # [22:33] <Hixie> the graph doesn't show spring.
- # [22:33] <webben_> I think the notion that you're going to persuade designers to put massive blocks of text alongside every graph and diagram is optimistic, to say the least.
- # [22:33] <Hixie> oh
- # [22:33] <Hixie> i see
- # [22:34] <Hixie> you're from the upside down part of the planet
- # [22:34] <Lachy> it doesn't show autumn either. It only shows months
- # [22:34] <webben_> fighting for links to text equivalents is hard enough
- # [22:34] <Hixie> webben_: i think the notion that you're going to persuade designiners to put those same massive blocks of text in a different page is even more fantastic.
- # [22:34] <Dashiva> We need an element to mark up seasons with, so it's clear what hemisphere the author is referring to
- # [22:34] <Philip`> Dashiva: What if you're on the equator?
- # [22:35] <webben_> Hixie: Oh, that's not so fantastic.
- # [22:35] <Dashiva> Philip`: Flip a coin
- # [22:36] <Hixie> webben_: so far i have the web on my side -- people tend to put information about their graphs inline, and tend not to give external descriptions.
- # [22:36] <Hixie> (though of course it's much more common for them to not do either)
- # [22:36] <Hixie> but if the author really wanted to put the text externally he could too
- # [22:36] <webben_> i've mainly seen people trying to _hide_ equivalents.
- # [22:37] <Hixie> <p><a href="graph.html"><img src="graph.png" alt="View trends..."></a></p>
- # [22:37] <Hixie> (with graph.html containing what i wrote above)
- # [22:38] <webben_> so can the spec say that Long descriptions should either be in <figure> or
- # [22:38] <webben_> linked via img link?
- # [22:38] <Hixie> which spec?
- # [22:38] <Hixie> wai?
- # [22:38] <Hixie> sure
- # [22:38] <webben_> HTML5
- # [22:39] <Hixie> html5 has an entire top-level-section dedicated to how you mark up text
- # [22:39] <Hixie> section 4
- # [22:39] <Hixie> i don't really see that we need to repeat it again
- # [22:40] <webben_> Section 4. is Web Browsers.
- # [22:40] * Joins: aboodman (n=aboodman@dsl081-073-212.sfo1.dsl.speakeasy.net)
- # [22:42] <Hixie> section 4 is "The elements of HTML"
- # [22:43] <webben_> oh sorry, looking at the WD not the Editor's Draft.
- # [22:44] <Hixie> http://whatwg.org/html5 -- everything else is likely to be out of date :-)
- # [22:46] <webben_> hmm, this does make the image and its equivalent impossible to extract together.
- # [22:48] <webben_> I guess one could come up with microformats to make them extractable.
- # [22:48] <Hixie> it's not clear that many users care about extracting them together
- # [22:49] <webben_> you'd probably need it to facilitate something like Aurora.
- # [22:49] <hober> besides which, <figure> covers that case, I think
- # [22:49] <webben_> hober: except when <figure isn't used.
- # [22:50] <webben_> why isn't figure used for the Carouge coat of arms?
- # [22:52] <webben_> is the idea that figure can't be main content?
- # [22:52] <webben_> "which can be moved away from the main flow of the document without affecting the document's meaning." ... I guess so.
- # [22:54] <webben_> hober: so that won't work for Aurora, where the example is a weather chart which appears to be the main content.
- # [22:54] <webben_> IIRC.
- # [23:10] <Hixie> given:
- # [23:10] <Hixie> <!DOCTYPE html><form><input name=a><input name=item></form>
- # [23:10] <Hixie> <script> var a = document.forms[0].item(0); w(a.name);
- # [23:10] <Hixie> </script>
- # [23:11] <Hixie> s/w/alert/
- # [23:11] <Hixie> what should the alert say?
- # [23:11] <Hixie> in IE the alert says "undefined"
- # [23:11] <Hixie> in every other browser, there is no item() method
- # [23:11] <Hixie> wtf is IE doing
- # [23:12] <webben_> that's freaky
- # [23:12] <webben_> does it do anything right with a?
- # [23:12] <webben_> e.g. a.tagName ?
- # [23:12] <Hixie> nope
- # [23:13] <Hixie> but alert(a) returns HTMLFormElement
- # [23:13] <Hixie> er
- # [23:13] <Hixie> HTMLInputElement even
- # [23:13] <webben_> that's um, extra freaky
- # [23:13] <Hixie> oh
- # [23:13] <Hixie> typeof a returns string
- # [23:13] <Hixie> (!)
- # [23:14] <Hixie> wtf is IE doing
- # [23:14] <Hixie> i'm going to ignore IE here
- # [23:14] <jruderman> it returns the string "HTMLInputElement"? that's not especially useful
- # [23:15] <Hixie> it's got to be a bug of some kind
- # [23:15] <Lachy> Hixie, for longdesc to be included, is this all that needs to be provided: 1. Use cases, 2. Evidence that UAs have implemented usable UI, 3. Evidence that authors have begun to use it properly on a significant scale, and 4. Proof that it's better than any of the other solutions for the use cases?
- # [23:15] <hsivonen> doesn't IE usually dodge these issues and alert "[object]"?
- # [23:15] <Lachy> did I miss anything?
- # [23:16] <jruderman> Lachy: i don't expect any of those to exist...
- # [23:16] <Lachy> jruderman, I realise they don't exist now. But I'm trying to explain in my next email what needs to be provided for longdesc to be considered for inclusion
- # [23:16] <Hixie> Lachy: we have to go through the same process as everything else, as described in my recent e-mail to public-html, and as given on the whatwg faq
- # [23:17] <Hixie> Lachy: which starts with establishing what the problem is
- # [23:17] <Hixie> Lachy: and then considering solutions to that problem
- # [23:17] * Joins: aboodman2 (n=aboodman@dsl081-073-212.sfo1.dsl.speakeasy.net)
- # [23:18] <Lachy> ok, I'll rephrase what I have to incorporate that. I'm just trying to make it as clear as possible what they need to provide
- # [23:19] * Joins: roc (n=roc@202.0.36.64)
- # [23:19] <Hixie> hsivonen: IE8 changed that, it starts returning actual class names for host objects
- # [23:19] <Hixie> Lachy: i already did that
- # [23:19] <Hixie> Lachy: and jf replied (completely missing the point)
- # [23:20] <hsivonen> Hixie: he didn't recognize "next best" as being part of the definition of opportunity cost
- # [23:20] <hsivonen> I guess I should clarify tomorrow
- # [23:22] * Quits: Maurice (i=copyman@cc90688-a.emmen1.dr.home.nl) ("Disconnected...")
- # [23:23] * Quits: Lachy (n=Lachlan@85.196.122.246) (Remote closed the connection)
- # [23:23] <Hixie> i was impressed at how completely he failed at actually clearly describing a problem
- # [23:24] * Joins: Lachy (n=Lachlan@85.196.122.246)
- # [23:24] <Hixie> how answer to "Come up with a clear description of the problem that needs to be solved." was SIX paragraphs
- # [23:24] <Hixie> none of which actually gave a problem description
- # [23:25] <Hixie> he listed needs and requirements, without actually saying what he was trying to fix
- # [23:25] <Hixie> and as part of the _problem_ description, he asserted what the best solution was
- # [23:25] <Dashiva> Sometimes I wonder if there's actually a movement _for_ bolt-on accessibility because that way you're sure it's "real" accessibility and not "just" a side effect of language semantics.
- # [23:26] <Hixie> maybe
- # [23:26] <Hixie> my goal is to improve actual end-user accessibility
- # [23:26] <Dashiva> If said movement exists, they would fight you every step of the way
- # [23:26] <Hixie> i doubt such a movement is conscious
- # [23:26] <Dashiva> True
- # [23:27] <Hixie> but i do think that there are people who have that mindset
- # [23:27] <Hixie> it's sad, since they are having a net negative effect on global accessibility
- # [23:27] <hober> classic "road to hell paved with good intentions"...
- # [23:28] <webben_> Dashiva: Well, there was one fellow in HTML WG arguing to abolish the semantics of ordinary HTML elements and move all semantics to role or CSS or something.
- # [23:29] <webben_> (because of fears of presentational use of those elements contaminating the meaning)
- # [23:29] <Dashiva> Isn't that more of an argument to remove default styling?
- # [23:29] <webben_> it would be _an_ argument for it yes
- # [23:30] <webben_> I think that may have been an alternative he put forward
- # [23:30] <webben_> at any rate, the principle is that bolt-on is more reliable
- # [23:31] <webben_> I don't think JF's arguing that bolt-on is better though.
- # [23:31] <hsivonen> Cascading Semantic Sheets came up in the RDFa thread as well
- # [23:31] <webben_> just that design considerations will require bolt-on
- # [23:32] <webben_> (compare Dojo's "restyling" of widgets - i.e. using div and span - leading (in part) to ARIA
- # [23:32] <Dashiva> Well, I think there's a significant difference between bolt-on information (e.g. longdesc) and bolt-on associations (e.g. pointing to normally visible content)
- # [23:33] <webben_> longdesc doesn't have to point to invisible content.
- # [23:33] <Dashiva> No, but the implication order is switched
- # [23:33] <Dashiva> To have an association, you need the content to be present in the first place
- # [23:34] <Dashiva> longdesc puts it in an invisible place, so it's quite possible the content isn't available from other places
- # [23:34] <webben_> by the information do you mean the URI?
- # [23:34] <webben_> as opposed to the description?
- # [23:34] * Quits: aboodman (n=aboodman@dsl081-073-212.sfo1.dsl.speakeasy.net) (Read error: 110 (Connection timed out))
- # [23:37] <Dashiva> I'm not sure what you mean
- # [23:38] <webben_> hmm. I'm not sure what you mean either. :)
- # [23:38] <Dashiva> Just that the content should not be created for accessiblity purposes
- # [23:39] <webben_> what content? descriptions?
- # [23:41] * Quits: harig (n=harig_in@85.196.122.246) (Connection reset by peer)
- # [23:42] * Joins: aboodman (n=aboodman@dsl081-073-212.sfo1.dsl.speakeasy.net)
- # [23:42] <Dashiva> webben_: All content, descriptions included
- # [23:44] <webben_> and it should instead be created for what purposes?
- # [23:44] <Dashiva> For being useful in general
- # [23:45] <webben_> if useful in general === communicating to human beings, then that would appear to be the same thing.
- # [23:46] <Dashiva> Yeah, if you assume page authors are angelic beings of perfection
- # [23:47] <webben_> I thought you were making a statement about what they "should" do.
- # [23:47] <Dashiva> No, I'm making a statement about what we should hope for
- # [23:48] <Dashiva> And if we can make regular joes write content for regular joes, and get accessibility included by default, that's a win
- # [23:49] <webben_> people with disabilities are regular joes.
- # [23:49] <Dashiva> No, they're regular joes with disabilities
- # [23:50] <Dashiva> The more special treatment we require for accessiblity, the less we will get (outside of content ruled by certain laws)
- # [23:50] * Quits: tusho (n=tusho@91.105.98.27) (Remote closed the connection)
- # [23:51] <webben_> If you're just restating Hixie's point that a language should have as much accessibility-for-free built in, then sure.
- # [23:51] <webben_> *as much ... as possible
- # [23:51] <Dashiva> Not just that, but the parts that aren't built-in should be as close as possible
- # [23:52] <Dashiva> So to get back to the start, stuff that requires _new_ content to be made for accessiblity is bad
- # [23:52] <webben_> new content?
- # [23:52] <webben_> like what?
- # [23:52] <Dashiva> ...
- # [23:52] <Dashiva> Like longdesc, maybe?
- # [23:52] <webben_> longdesc isn't "content"
- # [23:53] <webben_> it points to content
- # [23:53] <Dashiva> Yes
- # [23:53] <webben_> by content, do you mean "code"?
- # [23:53] <Dashiva> No, I mean content
- # [23:53] <Dashiva> By putting longdesc in an invisible attribute, you place the assumption that the content it points to isn't interesting for anyone else
- # [23:53] <webben_> no you don't
- # [23:54] <webben_> that's the assumption developers of browsers have made
- # [23:54] <webben_> (well, some browsers)
- # [23:54] <Dashiva> If that wasn't the case, we wouldn't want to put it in an attribute, we'd put it in plain view for everyone
- # [23:54] <webben_> that's not at all obvious ... look at tile
- # [23:54] <webben_> *title
- # [23:54] * Quits: epeus (n=KevinMar@72.14.224.1) (Connection timed out)
- # [23:55] <webben_> or indeed, IE displaying alt as tooltip
- # [23:55] <Dashiva> A tooltip is special UI
- # [23:55] <webben_> Dashiva: just as was supposed to exist for longdesc, yes.
- # [23:55] <Dashiva> You don't need speical UI for a link. We kinda invented those years ago.
- # [23:56] * Quits: aboodman2 (n=aboodman@dsl081-073-212.sfo1.dsl.speakeasy.net) (Read error: 110 (Connection timed out))
- # [23:56] <webben_> I think that's premised on a single-model view of linking.
- # [23:57] <webben_> (that's not an unreasonable view of linking, but it's far from the only one)
- # [23:57] * aboodman is now known as aboodman2
- # [23:57] <webben_> it also doesn't really explain why we need a UI for advisory information
- # [23:57] * aboodman2 is now known as aboodman3
- # [23:58] <Dashiva> Well, turn it around. Why would you take an awesome accessibility resource and put it behind UI that doesn't exist yet? That seems like a very risky proposition.
- # [23:58] * aboodman3 is now known as aboodman
- # [23:58] <webben_> Dashiva: Why use any new features?
- # [23:59] <webben_> all put interoperability at risk
- # [23:59] <Dashiva> Because when you frame it as accessiblity, you have to be twice as careful
- # [23:59] <webben_> or browser vendors might misunderstand what it's for?
- # Session Close: Mon Sep 08 00:00:00 2008
The end :)