Options:
- # Session Start: Tue Sep 10 00:00:00 2013
- # Session Ident: #html-wg
- # [00:02] * Quits: glenn (~gadams@public.cloak) (Client closed connection)
- # [00:03] * Quits: mjs (~mjs@public.cloak) (mjs)
- # [00:06] * Joins: glenn (~gadams@public.cloak)
- # [00:11] * Quits: glenn (~gadams@public.cloak) (Client closed connection)
- # [00:14] * Quits: tinkster (~tai@public.cloak) (Ping timeout: 180 seconds)
- # [00:15] * Joins: tinkster (~tai@public.cloak)
- # [00:17] * Joins: mjs (~mjs@public.cloak)
- # [01:00] * Quits: tinkster (~tai@public.cloak) (Ping timeout: 180 seconds)
- # [01:10] * Quits: richt (~uid12457@public.cloak) ("Connection closed for inactivity")
- # [01:24] * heycam|away is now known as heycam
- # [01:51] * Quits: cabanier (~cabanier@public.cloak) ("Leaving.")
- # [02:12] * Quits: mjs (~mjs@public.cloak) (mjs)
- # [02:20] * Joins: cabanier (~cabanier@public.cloak)
- # [04:23] * Joins: rubys (~rubys@public.cloak)
- # [04:40] * Quits: rubys (~rubys@public.cloak) (Client closed connection)
- # [04:40] * heycam is now known as heycam|away
- # [05:21] * heycam|away is now known as heycam
- # [06:30] * Joins: yoav (~yoav@public.cloak)
- # [07:00] * Joins: [Beta] (~beta@public.cloak)
- # [07:00] * Quits: johndrinkwater (~beta@public.cloak) (Client closed connection)
- # [07:14] * Joins: mjs (~mjs@public.cloak)
- # [08:02] * Quits: yoav (~yoav@public.cloak) (Ping timeout: 180 seconds)
- # [08:09] * Joins: sgalineau (~sgalineau@public.cloak)
- # [08:09] * Joins: yoav (~yoav@public.cloak)
- # [08:36] * Joins: tinkster (~tai@public.cloak)
- # [08:51] * Joins: stommepoes (~stommepoes@public.cloak)
- # [08:52] * Quits: sgalineau (~sgalineau@public.cloak) ("Computer has gone to sleep.")
- # [09:06] * Quits: mjs (~mjs@public.cloak) (mjs)
- # [09:11] * Joins: chaals (~Adium@public.cloak)
- # [09:15] * heycam is now known as heycam|away
- # [10:08] * Joins: sgalineau (~sgalineau@public.cloak)
- # [10:09] * Joins: darobin (rberjon@public.cloak)
- # [10:13] * Joins: sgalinea_ (~sgalineau@public.cloak)
- # [10:13] * Quits: sgalineau (~sgalineau@public.cloak) (Client closed connection)
- # [10:21] * Quits: sgalinea_ (~sgalineau@public.cloak) (Ping timeout: 180 seconds)
- # [10:24] * Quits: Lachy (~Lachy@public.cloak) ("Textual IRC Client: www.textualapp.com")
- # [10:24] * Joins: sgalineau (~sgalineau@public.cloak)
- # [10:26] * Joins: nonge (~nonge@public.cloak)
- # [10:32] * Quits: nonge_ (~nonge@public.cloak) (Ping timeout: 180 seconds)
- # [10:40] * Quits: sgalineau (~sgalineau@public.cloak) (Client closed connection)
- # [10:44] <darobin> quick a11y question: if I have an arbitrary element and I wish it to have an equivalent of img's alt, is using aria-label appropriate?
- # [10:48] * Joins: sgalineau (~sgalineau@public.cloak)
- # [10:48] <chaals> can be
- # [10:49] <chaals> (it won't really give you an equivalent, since it is generally only provided to AT)
- # [10:49] <chaals> title will do so for normal browsers (except for keyboard users or people who are relying on eg screenreaders)
- # [10:50] <chaals> SteveF probably has better test data, but I suspect in most cases you want title and aria-label redundantly for real-world value.
- # [10:50] <chaals> :(
- # [10:52] * Joins: SteveF (~chatzilla@public.cloak)
- # [10:52] <SteveF> darobin: re aria-label what are you trying to do?
- # [10:54] <darobin> SteveF: http://berjon.com/presentations/20130910-ricg-switch/#/7
- # [10:54] <darobin> chaals: ^^
- # [10:54] <SteveF> darobin: yeah already found it
- # [10:56] <SteveF> darobin: in theory yes, putting role="img" would be appropriate otherwise the switch element would not appear in the acc tree (as its not a UI element
- # [10:56] <SteveF> do you have a demo?
- # [10:56] <darobin> SteveF: it don't work yet man
- # [10:56] <darobin> I just came up with the idea
- # [10:57] <darobin> SteveF: mmmmmm
- # [10:57] <darobin> this is an element from SVG, maybe it's actually handled properly in the acc tree?
- # [10:57] * darobin reckons a girl can dream
- # [10:58] <SteveF> OK, the proper handling for a non UI element is no mapping
- # [10:58] <chaals> hmm. Actually I think you shold ust put the *** alt into each img element.
- # [10:58] <darobin> it's more like a transparent element
- # [10:58] <darobin> chaals: no, really, no
- # [10:58] <darobin> or at least, if there's any way of avoiding that, I really want to avoid it
- # [10:59] <SteveF> so as I said add the role=img to expose as image to acc layer, probably need role=presentation on the img elements inside
- # [10:59] <chaals> I undesrtand why you want to avoid it.
- # [10:59] <darobin> the images inside may or may not be presentational
- # [11:00] <SteveF> darobin: yes but the swithc represnets the img(s)
- # [11:00] <chaals> but short of hacking up a good way to assign alt out of aria-label (easy with a shim, of course), it looks like you'll have to pick some ugly mess or other.
- # [11:00] <darobin> mmmmmm
- # [11:00] <darobin> well, a shim will be needed anyway
- # [11:00] <darobin> maybe that can handle assigning the alts as well
- # [11:00] <SteveF> chaals in acc tree alt and aria-label = same thing = accessible name
- # [11:01] <darobin> (and the roles and all)
- # [11:01] <darobin> so it becomes an issue of specifying it right on the switch so it works well when specified
- # [11:01] <darobin> s/specified/implemented/
- # [11:01] <chaals> steveF sure. But outside acc tree, in browsers for the majority, that doesn't happen today ;(
- # [11:02] <darobin> so if we were relying on people implementing this, assuming it has a well-defined role and all, what would be the best attribute choice? alt?
- # [11:02] <darobin> <switch alt='...'> ?
- # [11:02] <chaals> 20/80 splits on solutions are as bad as not getting working accessibility, right?
- # [11:02] <SteveF> right, so alt not exposed when images turned off for example, gotya
- # [11:02] <darobin> taking into account the fact that it may switch between things that aren't images, e.g. video, canvas...
- # [11:02] <chaals> Hmmm. If people have to implement, it doesn't matter what you call it so much.
- # [11:03] <chaals> (canvas sort of is images. And sort of is text editors...)
- # [11:03] <darobin> fairy nuff
- # [11:03] <chaals> alt is prolly as good as anything, since people are familiar with it...
- # [11:04] <darobin> yeah, makes sense
- # [11:04] <darobin> alt it is
- # [11:04] <darobin> thanks for the help guys!
- # [11:04] <SteveF> darobin: why not <switch aria-label="Accessible text">
- # [11:04] <SteveF> <img media="(min-width: 45em)" src="large.jpg">
- # [11:04] <SteveF> <img media="(min-width: 18em)" src="med.jpg">
- # [11:04] <SteveF> <img src="small.jpg">
- # [11:04] <SteveF> <title>alt text</title>
- # [11:04] <SteveF> </switch>
- # [11:05] * Joins: Lachy (~Lachy@public.cloak)
- # [11:05] <darobin> SteveF: that puts the text in twice
- # [11:05] <SteveF> sorry forget about the aria-label - cut and paste error
- # [11:06] <darobin> I thought of that, but it has various sorts of wrong
- # [11:06] <darobin> first, it's not the existing SVG semantics (as I understand them)
- # [11:06] <darobin> (they're not exactly super clear...)
- # [11:06] <darobin> second, it's not really well known by users
- # [11:07] <darobin> SteveF: in my SVG example, you'll note I put the <title> outside the <switch>, so that it applies to its container
- # [11:07] <darobin> I'm not sure <title> applies to <switch>, not sure what it would mean
- # [11:10] <SteveF> darobin: best person to talk to on that is your fellow w3c operative doug s
- # [11:10] <darobin> yes yes, I know doug :)
- # [11:11] <darobin> however, I also know SVG, and I know how bad some parts of that spec are — a fair bit of it my fault
- # [11:11] <SteveF> darobin: really i mentioned you and he claimed to know nothing of you...
- # [11:12] <darobin> SteveF: well he would, wouldn't he
- # [11:12] <darobin> I mean... there are pictures
- # [11:13] <SteveF> :-)
- # [11:13] <darobin> SteveF: Doug doesn't know me as "Robin", he knows me as "The Boarlicker"
- # [11:14] <SteveF> LOL ugh conjures up horrible images
- # [11:14] <SteveF> twitter people seem to like useless stats such as '31% of top 100,000 web sites use <!DOCTYPE html> up from 17% in April 2012'
- # [11:16] <darobin> SteveF: you have no idea, even chaals is scared of those memories
- # [11:16] <darobin> SteveF: http://bash.org/?2999
- # [11:18] <chaals> Boarlicker: as far as I can tell, switch > title means "a title for whatever is selected out of this switch". So it would be reasonable, but I agree that people don't know it.
- # [11:19] <chaals> The benefit is having an element - attributes !@#$%^&*ck as alternatives to real elements...
- # [11:22] * Quits: darobin (rberjon@public.cloak) (Client closed connection)
- # [11:22] * Joins: darobin (rberjon@public.cloak)
- # [11:22] <SteveF> chaals: agreed
- # [11:24] <darobin> yeah, elements are best indeed
- # [11:24] <chaals> (darobin, can you dcc like it's 1999?)
- # [11:24] <darobin> chaals: lol, it took me a minute to undersatnd what it was
- # [11:25] <darobin> but accepting it does not seem to do anything
- # [11:25] <chaals> I canceled one and started a second one...
- # [11:25] <chaals> but not all clients seem to handle it nicely
- # [11:26] <darobin> I think mostly there are network problems with it
- # [11:26] <darobin> nah, it won't start
- # [11:27] <chaals> yeah, I killed them...
- # [11:28] * Quits: darobin (rberjon@public.cloak) (Client closed connection)
- # [11:32] * Joins: darobin (rberjon@public.cloak)
- # [12:24] * Quits: chaals (~Adium@public.cloak) (Client closed connection)
- # [12:24] * Joins: chaals1 (~Adium@public.cloak)
- # [12:24] * Joins: chaals (~Adium@public.cloak)
- # [12:25] * Quits: chaals1 (~Adium@public.cloak) (Client closed connection)
- # [12:26] <SteveF> darobin: found working example of switch and tried out use of <desc> and <title> + aria = worked (exposed name/role correctly) https://gist.github.com/stevefaulkner/6507474 even works with AT, somewhat funky though
- # [12:27] <SteveF> desc worked better
- # [12:27] <SteveF> note need to apply role on svg not switch
- # [12:30] <SteveF> also note svg has a default role=diagram (system level acc role not ARIA)
- # [12:31] * Quits: chaals (~Adium@public.cloak) (Ping timeout: 180 seconds)
- # [13:07] * Joins: chaals (~Adium@public.cloak)
- # [13:15] * Quits: nonge (~nonge@public.cloak) ("Verlassend")
- # [13:37] * Quits: chaals (~Adium@public.cloak) (Ping timeout: 180 seconds)
- # [13:40] * Joins: chaals (~Adium@public.cloak)
- # [14:01] * Quits: chaals (~Adium@public.cloak) ("Leaving.")
- # [14:08] <darobin> SteveF: thanks, that's useful
- # [14:08] <darobin> it's certainly something we can apply, if anything comes of this proposal
- # [14:10] * Joins: plh (plehegar@public.cloak)
- # [14:10] * Joins: myakura (~myakura@public.cloak)
- # [14:19] * Quits: darobin (rberjon@public.cloak) (Client closed connection)
- # [14:19] * Joins: darobin (rberjon@public.cloak)
- # [14:24] * Quits: SteveF (~chatzilla@public.cloak) ("ChatZilla 0.9.90.1 [Firefox 23.0.1/20130814063812]")
- # [14:31] * Joins: glenn (~gadams@public.cloak)
- # [14:44] * Joins: chaals (~Adium@public.cloak)
- # [15:11] * Quits: lgombos (~gombos@public.cloak) (Ping timeout: 180 seconds)
- # [15:14] * Joins: glenn_ (~gadams@public.cloak)
- # [15:14] * Quits: glenn (~gadams@public.cloak) (Client closed connection)
- # [15:17] * Joins: tobie (tobie@public.cloak)
- # [15:39] * Joins: davidb (~davidb@public.cloak)
- # [15:39] * Quits: davidb (~davidb@public.cloak) ("blast off!")
- # [15:40] * Joins: davidb (~davidb@public.cloak)
- # [15:46] * Quits: glenn_ (~gadams@public.cloak) (Client closed connection)
- # [15:48] * Parts: stommepoes (~stommepoes@public.cloak) (stommepoes)
- # [15:54] * Quits: chaals (~Adium@public.cloak) ("Leaving.")
- # [17:05] * Quits: myakura (~myakura@public.cloak) (Client closed connection)
- # [17:05] * Joins: myakura (~myakura@public.cloak)
- # [17:05] * Joins: ddorwin (~Adium@public.cloak)
- # [17:09] * Joins: Joshue (~Joshue@public.cloak)
- # [17:12] * Quits: myakura (~myakura@public.cloak) (Ping timeout: 180 seconds)
- # [17:29] * Joins: Lachy_ (~Lachy@public.cloak)
- # [17:30] * Joins: myakura (~myakura@public.cloak)
- # [17:30] * Quits: Lachy (~Lachy@public.cloak) (Ping timeout: 180 seconds)
- # [17:33] * Joins: nonge (~nonge@public.cloak)
- # [17:34] * Quits: plh (plehegar@public.cloak) ("Leaving")
- # [17:46] * Quits: Lachy_ (~Lachy@public.cloak) ("Textual IRC Client: www.textualapp.com")
- # [17:57] * Quits: cabanier (~cabanier@public.cloak) ("Leaving.")
- # [17:58] * Quits: tobie (tobie@public.cloak)
- # [18:02] * Joins: jernoble (~jernoble@public.cloak)
- # [18:05] * Quits: sgalineau (~sgalineau@public.cloak) ("Textual IRC Client: www.textualapp.com")
- # [18:08] * Quits: yoav (~yoav@public.cloak) ("Ex-Chat")
- # [18:08] * Quits: darobin (rberjon@public.cloak) (Client closed connection)
- # [18:09] * Quits: jernoble (~jernoble@public.cloak) ("My MacBook Pro has gone to sleep. ZZZzzz…")
- # [18:23] * Joins: cabanier (~cabanier@public.cloak)
- # [18:28] * Joins: jernoble (~jernoble@public.cloak)
- # [18:38] * Quits: myakura (~myakura@public.cloak) (Client closed connection)
- # [18:39] * Joins: myakura (~myakura@public.cloak)
- # [18:46] * Quits: ddorwin (~Adium@public.cloak) ("Leaving.")
- # [18:46] * Quits: myakura (~myakura@public.cloak) (Ping timeout: 180 seconds)
- # [18:52] * Joins: myakura (~myakura@public.cloak)
- # [19:07] * Quits: Joshue (~Joshue@public.cloak) ("Leaving...")
- # [19:18] * Joins: lgombos (~gombos@public.cloak)
- # [19:26] * Joins: plh (plehegar@public.cloak)
- # [19:40] * Joins: SteveF (~chatzilla@public.cloak)
- # [19:59] * Quits: davidb (~davidb@public.cloak) ("blast off!")
- # [20:02] * Joins: davidb (~davidb@public.cloak)
- # [20:25] * Joins: davidb_ (~davidb@public.cloak)
- # [20:31] * Quits: davidb (~davidb@public.cloak) (Ping timeout: 180 seconds)
- # [20:31] * davidb_ is now known as davidb
- # [20:32] * Quits: SteveF (~chatzilla@public.cloak) (Ping timeout: 180 seconds)
- # [20:47] * Joins: st (~Suzanne.Taylor@public.cloak)
- # [20:53] * Joins: Lachy (~Lachy@public.cloak)
- # [20:54] * Joins: SteveF (~chatzilla@public.cloak)
- # [20:54] * Quits: jernoble (~jernoble@public.cloak) ("My MacBook Pro has gone to sleep. ZZZzzz…")
- # [20:56] * Quits: tinkster (~tai@public.cloak) (Ping timeout: 180 seconds)
- # [21:02] * Quits: Lachy (~Lachy@public.cloak) ("Textual IRC Client: www.textualapp.com")
- # [21:06] * st is now known as Suzanne_Taylor
- # [21:12] * Quits: myakura (~myakura@public.cloak) (Client closed connection)
- # [21:13] * Joins: myakura (~myakura@public.cloak)
- # [21:16] * Joins: NeatBasis_ (~quassel@public.cloak)
- # [21:17] * Quits: NeatBasis (~quassel@public.cloak) (Ping timeout: 180 seconds)
- # [21:20] * Quits: myakura (~myakura@public.cloak) (Ping timeout: 180 seconds)
- # [21:21] * Joins: jernoble (~jernoble@public.cloak)
- # [21:24] * Quits: jernoble (~jernoble@public.cloak) ("My MacBook Pro has gone to sleep. ZZZzzz…")
- # [21:30] * Joins: tinkster (~tai@public.cloak)
- # [21:45] * Joins: jernoble (~jernoble@public.cloak)
- # [22:03] * Joins: glenn (~gadams@public.cloak)
- # [22:04] * Joins: glenn_ (~gadams@public.cloak)
- # [22:04] * Quits: glenn (~gadams@public.cloak) (glenn)
- # [22:04] * Quits: SteveF (~chatzilla@public.cloak) (Ping timeout: 180 seconds)
- # [22:05] * Quits: glenn_ (~gadams@public.cloak) (Client closed connection)
- # [22:21] * Joins: SteveF (~chatzilla@public.cloak)
- # [22:26] * Quits: lgombos (~gombos@public.cloak) (Ping timeout: 180 seconds)
- # [22:31] * Quits: SteveF (~chatzilla@public.cloak) (Ping timeout: 180 seconds)
- # [22:42] * Quits: tinkster (~tai@public.cloak) (Ping timeout: 180 seconds)
- # [22:44] * Joins: tinkster (~tai@public.cloak)
- # [22:49] * Quits: jernoble (~jernoble@public.cloak) ("My MacBook Pro has gone to sleep. ZZZzzz…")
- # [23:01] * Quits: davidb (~davidb@public.cloak) (davidb)
- # [23:05] * Joins: dveditz (~dveditz@public.cloak)
- # [23:05] * Joins: tobie (tobie@public.cloak)
- # [23:11] * Quits: tobie (tobie@public.cloak)
- # [23:12] * Joins: lgombos (~gombos@public.cloak)
- # [23:24] * Joins: tobie (tobie@public.cloak)
- # [23:43] * Quits: dveditz (~dveditz@public.cloak) ("")
- # [23:47] * Quits: lgombos (~gombos@public.cloak) (Ping timeout: 180 seconds)
- # Session Close: Wed Sep 11 00:00:00 2013
The end :)