CSSquirrel A look at web development and web design by Kyle Weems

:

Posts Tagged ‘sam ruby’

Comic Update: Alone In The Pitch Black Dark

Monday, August 16th, 2010

Today’s comic features the chairs of the W3C HTML WG, Sam Ruby, Maciej Stachowiak and Paul Cotton as they and the Squirrel try to deal with the dangers of a cave monster in the dark. You’ll have to take my word for it, however, unless you follow the instructions on the comic to read the transcript. In a reversal of what is the norm, my sighted readers will have to take some extra effort to experience the joke; my visually impaired readers should be able to access the transcript like normal through the longdesc attribute on the comic.

Recently, these three personages made a Working Group decision about the fate of the longdesc attribute which you can read over here. The summary is this: the longdesc attribute, which is a method of serving detailed alternate text for complex images to visually impaired web users, is now obsolete and not a part of HTML5.

So much for backwards compatibility.

Almost a full year ago I addressed the issue of blind web users, encountering the topic on a personal level when I found that my commentary CAPTCHA at the time was challenging for a reader of mine because he was blind. A reader, at a web comic, who couldn’t even see the comics that my commentary accompany. I made a change to the site, setting up transcripts for every comic starting with that one, which can be accessed via either the longdesc attribute or an aria-describedby attribute, both attached to the comic’s image. I’ve been uneven at times in keeping the transcripts synchronized, but every comic since then has that alternate text so you don’t need operational eyes to be in on the joke.

I’m a bit confused to why it’s an issue for non-experts in the accessibility field to constantly be pushing against the presence of accessibility features that pre-exist HTML5 like longdesc. The most common arguments are that it’s largely unused. I know this is true. But that doesn’t seem like a reason to throw validator warnings for those sites that correctly use it for their users (like myself.)

Here’s the validator results for my comic page in HTML5 mode. Mind you, the page isn’t HTML5 yet (I’m really behind on a site redesign), but the one warning that shouldn’t be present is the last one: “The longdesc attribute on the img element is obsolete. Use a regular a element to link to the description.”

Excuse me?

Since when does a validator need to tell me how to design my site? The premise of a link on an a element is plausible (I’ve heard it a million times by now), but it seems to disregard the consequences for sighted users in some design experiences. In the case of the current comic page, I could wrap the comic in a link to the transcript, I suppose. That won’t work in the future design of the page due to interactions that I’ll be adding, however. Furthermore, for many sites, complicated images often have other functionality attached to a link around the image, like loading a larger version of the image or popping open a lightbox gallery. The only alternative at that point is add a separate link by putting an additional element on the page, aka, modify the design based on validation needs.

The fact is, most sighted users don’t want to click on an image description for alt text, because they can see the image. And non-sighted users have access to the accessibility features like longdesc. If a web developer is going to be providing alternative text for complex imagery to the point that he or she would actually create a description hyperlink, why wouldn’t this same person go an extra three inches and just use the longdesc attribute? The premise that a simple hyperlink is somehow more likely to be used is false: lazy people will be lazy no matter what.

I don’t expect this decision to somehow change. Not because I think it shouldn’t. I think it’s an incredibly stupid choice made to please punditry who largely don’t use any sort of alternate text for their sites whatsoever. I just think the issue’s been fought over for so long that those in the position to have the final say will gladly sit on the wrong decision just to move forward.

As a website owner who does make use of accessibility features for my actual blind users, I’ll take my validation error. The code was valid, it does work, and I don’t see any reason to clutter the visual design to implement a less elegant solution.

Comic Update: The HTML5 Show (AKA, A Mess)

Monday, January 11th, 2010

HTML5 is a mess.

That was a phrase in my Refresh presentation in December, when I was speaking of the dueling organizations jockeying for control of the spec.

At the time of my writing, I did not know how clean it was by comparison to its status today.

Today’s comic features Hixie the Leviathan interrupting a Muppet-show like meeting of the W3C HTML5 group. Blame the parody of Henson’s creations on the commentary of one Mr. Jeremy Keith. Tweets like this are candy for people like me. The comic also features Sam Ruby, John Foliot, Manu Sporny, Jeremy Keith and Bruce Lawson as Muppet parodies.

The fact is that it seems that Ian “Hixie” Hickson, the HTML5 editor, has taken his ball and gone home. He’s started splitting out the HTML5 spec on the W3C side of things into a shredded mess, by his own words with the hope that if the W3C spec becomes a giant mess, people will drift to the WHATWG spec by default. He’s petulantly insisted that microdata (his own creation) is part of HTML despite the recent W3C work that resulted in it being moved out of the spec. He states that the WHATWG spec trumps the W3C spec, so the latter organization has to get over itself and get back with the program. He’s implied that he’d prefer authors (that’s web designers/developers) stop using HTML5 features as much as they have because it’s causing problems. (This further reinforces my belief that Hixie is following an Implementer > Author > User mentality instead of the User > Author > Implementer mentality that HTML was built upon.) He’s made HTML versionless, insisting that HTML5 is a snapshot that he’s already gone past, and is sitting as monarch for life on the continuing evolution of the spec.

All this from a guy who’s catch phrase seems to be “I don’t understand.” Which is, to me, a dangerous trait in a person empowered with absolute rule over the spec.

In short, like Jeremy, I’m frustrated with a lot of the recent HTML-related issues from the front of advocacy. I’ve tried to sell HTML5 (and it’s grab-bag of toys) to co-workers, peers in web design, total strangers, and friends who didn’t escape a conversation early enough. I want to see it used more, so the browsers speed up implementation of juicy features, so I can use it even more excessively, and so on.

But if people don’t even know if HTML5 exists anymore, or the status of the organizations working on it seem to be out of whack, why would they bother using the <video> tag or exploring <canvas>? We need to give people something to work with. Which means we need to not have insane grandstanding by a single individual.

But hey, this is just one squirrel’s view: HTML5 is a mess.

Comic Update: The HTML5 Suggestion Box

Monday, July 20th, 2009

In one of his recent lengthy, marathonesque comments in other people’s blog posts, John Allsopp said the following quote in response to Bruce Lawson’s post HTML is a mess: “I guess one of the reasons folks are resorting to raising their legitimate concerns in public fora, rather than directly with the HTML WG (or should that be the WhatWG, or maybe both?) is possible they don’t have a tonne of faith in the process.”

This comment by John sent me down several interesting paths of consideration. Firstly, it made me think that Mr. Allsopp might spend more time writing in other people’s blogs than his own, much like Jeff Croft (who I had the fortune to see at Refresh Bellingham last week) appears to spend more time in every other city in America than the one in which he lives.

Secondly, I briefly thought that I’d start spelling “ton” (American spelling) like “tonne” (which appears to be the Australian, and I’ll bet also the UK spelling). I quickly discarded that plan, since it’d just limit my word count in Twitter. Which made me wonder, do Japanese users of Twitter get to use kanji in their tweets? If so, that seems highly unfair. They could fit a War & Peace sized comment in a single tweet that way. (Note to self: learn Japanese.)

Finally I really got to the meat of what he said in that sentence (one of many that expressed his thoughts on the mess topic Bruce had posted about). Why should you or I bother with figuring out how the hell to send an email to the proper mailing lists for the HTML5 WG? Or the WHAT WG? Heck, I’m not even sure which group is more relevant. The former has more technical authority, but the latter is actually making all the calls. RDFa, ARIA, and other fruits of the loins of other W3C chartered working groups are being disregarded by the HTML5 people consistently, or being carefully argued away with a pleading for use cases, a suggestion that their expertise is flawed, or that alternate solutions (read that: the WHAT WG’s solutions) are the better option.

People who’ve spent decades in service to their fields are being shot down by non-experts. Consider the issues with accessibility. Laura Carlson recently sent a proposal (signed by a lot of notables including accessibility guru John Foliot and HTML5 doctor in residence Bruce Lawson) that suggested the audacious idea that there be a formal procedure that describes how HTML5 will seek accessibility guidance from the W3C WAI groups.

HTML5 editor-for-life Ian Hickson evaded the issue by listing all the unanswered questions he has waiting on such topics instead of addressing the proposal. Sam Ruby one-upped Ian by expressing his disappointment that the proposal even existed.

In a situation like this, where motivated, caring experts in their fields are being ignored or deflected when using the official channels, why should your average John Everyweb even consider unraveling the process involved enough to attempt to address concerns, knowing the almost certain result of such efforts?

I can’t think of any motivating reasons.

Today’s comic features John Foliot (representing accessibility efforts) submitting such a suggestion to the HTML5 group(s), with my squirrel alter ego looking on in horror at the results. Consider it a softened metaphor that reflects my own growing dismay at the direction HTML5 seems to be heading when working with others.

The Week of Microdata

Thursday, May 14th, 2009

It’s been a really busy week for microdata. So busy that I haven’t personally had a chance to read up on all the details of the various announcements. That won’t stop me from trying to summarize it all for you, though.

First, Ian Hickson (HTML5 editor, Google employee, cat lover) finally made a concrete move on the long-simmering microdata in HTML5 issue. Instead of backing either Microformats (which works in HTML5 as-is due to its methodology) or RDFa (which Ian seems to be stating is a poor solution to the use cases it’s made to address), he decided to make his own new microdata syntax “based on RDFa”. I’ll leave it to the audience to determine whether this is a side-effect of the WhatWG’s NIH mentality or whether it’s genuinely a better tool than RDFa. Here’s Ian’s WhatWG annoucement, and here’s the new section in the HTML5 draft. For another perspective on it, the always fiery Shelley Powers gives us her two cents (adjusting for inflation) on the matter.

You would think a move like this might spell certain doom (cue dramatic music) for RDFa’s future in HTML5. However, at the same time Ian is trying to move us away from RDFa, his company makes a very concrete move towards adopting it. Google, during their big Searchology event, introduced Rich Snippets, wherein webmasters marking up relevant data in either RDFa or Microformats will have the possibility of Google making extra use of that information when their site is displayed in search results. Here’s the official Google blog post about the topic, including a delicious FAQ.

I’m not trying to be snide here, but if Ian’s own company is supporting RDFa extraction, as well as Yahoo’s Search Monkey, there’s little reason to believe that RDFa won’t somehow get adopted into HTML5.

In case Google’s Searchology event took up all your attention, on the same day the Microformats community made an annoucement about officially adopting the value-class pattern. Here’s their news post about the topic. If you’re already using Microformats, they suggest you get busy updating your syntax. If you don’t, this might be a good jumping point to look into what Microformats can offer your site.

If you’ve somehow gotten this far in the post without knowing what microdata is, I’d suggest you take a look at both the RDFa and Microformats websites. Marking up data so it’s both human-readable and machine-readable is an important step towards the semantic web, which Google’s recent annoucements have indicated they’re supporting as we move forward. So dig in, and see what use you can make of either solution in your own websites. Also feel free to check out Sam Ruby’s recent microdata blog post about the recent developments.

Comic Update: HTML5 Manners

Monday, May 4th, 2009

I’m going to lay out a chronology of prior events for you all so that today’s comic has a context other than the poor movie experience that was X-Men Origins: Wolverine (I really wanted to love that movie.)

Chris Wilson (W3C HTML WG co-chair and Microsoft employee) posted an e-mail to a HTML5 discussion that made reference to the “W3C HTML5 Spec”.

Mark Pilgrim (Google employee and WHATWG Blog author) in the WHATWG IRC channel then implies that HTML WG co-chair Sam Ruby would have been attempting to be divisive had he written that e-mail, but since it came from the other chair, Chris, he was in fact being stupid.

Shelley Powers (computer book author, software developer and technology architect) expresses utter frustration in a blog post about the future of HTML5 by pointing out this incident and many others that indicates a “Hatfield-McCoy feud” (in her words) between the W3C and WhatWG that is miring the whole process down. Gems in her post include an IRC discussion (starts here, ends here) between HTML5 editor Ian Hickson and Microformats champion Tantek Celik where Ian shows his bias in the microdata issue (read that: whether to include RDFa in HTML5) by asking Tantek to vet the use-case submissions. The “vetting” quickly devolves to the pair saying “Use microformats for everything” or if such a situation isn’t possible, to simply create a custom microformat for your own use.

Yes, that’s it, let’s make dozens of one-shot formats to solve the many microdata issues we’ll doubtlessly be facing in the next several years. That can’t possibly create any sort of data-harvesting compatibility issues. If I can see the shortsightedness of this issue (and I fail to wear coats on cloudy days because “it’s not raining yet”) then you can bet this isn’t a tenable, long-term solution.

They take some time to attack Creative Commons while they’re at it.

These aren’t the only times these sort of offensive public conversations have occurred, where WhatWG members have publicly derided, insulted or challenged the intelligence of the individuals they’re politely talking to in other conversations about topics they’re mutually involved in (such as HTML5). Mr. Last Week in HTML5 is a great (albeit foul-mouthed and somewhat spiteful) source of links to these conversations occurring all the time.

Ian responded to Shelley’s post, taking umbrage (as Shelley put it) at her “insulting accusation”. Shelley’s response cut to the core of the matter, exposing the main issue at hand here, and one that needs some serious addressing. In her words: “Don’t you get it? Don’t you see what Last Week in HTML5 is trying to demonstrate? You talk respect in my comments, or Sam’s comments, and elsewhere, but you show disrespect to me, to Sam, to others, in the IRC, and it completely undermines everything that you do.

I can’t state it better. These people aren’t average developers trading insults about trivial code snippets on small-scale projects. These are industry movers-and-shakers who are supposed to be working together to help create the standards that will define how we use HTML and other web technologies for years to come. I expect professional disagreement to occur (I’d be worried and concerned if that didn’t happen). But to start insulting one another personally in a public discussion (or frankly, privately) is shameful to the entire process and the entire community that is depending on them to do a good job.

Shame on you, sirs.

I’ll leave you with the following quotes from this IRC discussion including Doug Schepers, Ian Hickson, and a person named ‘roc’ (I don’t know his real name) [edit: As I've been informed in the comments, roc is Mozilla's Robert O'Callahan]:

shepazutoo (Doug): wow, Hixie, “contradicting other specs has never stopped the SVGWG before” (q.v. xlink, css, etc)… first, those were almost certainly mistakes rather than purposeful contradictions, and second, you’re acting like the current SVG WG is the same set of companies and individuals that wrote the SVG 1.1 spec, which you know to be false… can you please drop the political histrionics? we’re acting in good faith to correct some past errors, and to work with other WGs and with browser vendors to make all the specs align usefully

Hixie (Ian): i think you may have missed the smiley

roc (Robert): a smiley is not a “get out of jail free card” to be annoying