bestkungfu weblog

Twitter, ye markup be non-standarrrrrd.

Filed in: Web, design, vent, Fri, Sep 19 2008 11:10 PT

Twitter unveiled a new redesign today. Very little of it is really noticeably different, until you look at the underlying code. Which, last I recall, used to be pretty good–they even used the fancy-pants XHTML 1.0 Strict doctype (though still using tables for layout, which the spec says it shouldn’t do).

But one thing about the latest version makes me wonder just what the hell they’re doing these days.

<center>.

The <center> element. In September 2008. From the “it” Web 2.0 company. Seriously.

I know this will make me sound like the annoying standardista, but how could anyone who still uses <center> still be doing web design professionally in, of all places, San Francisco? This is an element which has been deprecated for eleven years. Do we really have people who haven’t changed their coding practices since before 1997?

Sadly, yes. And the worse news is, they’re writing books. I just saw a book whose first edition was published in July 2008, which teaches users to use <center>, to do layout tables, to use CSS primarily just for font selections, and loads of other outdated guidance. This is material from the bad old days of web design, and it simply gets regurgitated over and over again. To quote the late, great George Carlin, “it’s all bullshit, and it’s bad for ya.”

I don’t know what it is going to take to finally cull the proverbial herd of these kinds of authors and designers. But each time I see this, it makes me wonder when we can expect some kind of professionalism out of the average content producer. Many of us have been talking about this stuff for years. It’s de rigueur at many web conferences, to the point that people now roll their eyes at it. And yet, it continues. I also don’t know whether Twitter is doing this in-house or if they hired an external designer. But certainly, somebody there dropped the ball.

And I know that one <center> is not a big thing. It’s just a symptom of a larger disease: that of lazy, ignorant and/or incurious designers. When someone sticks to one way to do something without ever updating their own skill set, their designs get more and more inflexible. Which makes redesigns more and more difficult, and more expensive, all with less to show for it. Which brings us to the boxy gridlock we experienced in the 90s. Which is why standardistas get so angry about this stuff. We know that customers deserve better than this. We know that when customers find out how their designer painted them into a corner, it casts a shadow over all of us in those customers’ eyes.

The question that remains from all this is, how can the professionals in this field separate themselves from the amateurs? Really. I want suggestions. What concrete steps can we take to ensure that the good designers and developers, the ones who are always learning, who have a full and balanced skill set, don’t get lumped in (or worse, beaten out by) the ones who are locked in 1995? Who’s got an idea?

Introducing “Universal Design for Web Applications”

Filed in: Web, Web 2.0 Expo, accessibility, book, design, universal design, Mon, Sep 15 2008 14:46 PT

It’s funny how sometimes things get wrapped up in a little bow.

Last April, I was in San Francisco, giving my “Accessibility 2.0″ talk at the first O’Reilly Web 2.0 Expo. Out of that conference came the seed for the project that I’ve been working on, and now, I’m happy to unveil it. This Wednesday, I’m flying off to speak at Web 2.0 Expo New York, to give a talk called “Universal Design for Web Applications” with my longtime colleague Wendy Chisholm.

What’s gone on in the intervening 17 months has been our work on a book of the same name.

Universal Design for Web Applications just reached final manuscript status last Thursday. It’s scheduled to be published by O’Reilly in November.

We’re really excited about how the book turned out. We chose universal design as our standard to bear because we’re moving beyond accessibility, and applying the principles we’ve learned from accessible design to a whole new world of mobile devices like the iPhone, and lifestyle devices like the Asus Eee PC. The point here is that the days of knowing what your users’ screens look like are over. Even if accessibility weren’t a consideration, universal design is going to inform most of the big decisions web content producers are going to face in the near future. We in accessibility have been where those decision-makers will be, and we have a lot of advice to impart.

We have a lot of information on new topics like the Web Content Accessibility Guidelines 2.0 and the WAI-ARIA specification. We talk about video and script like they’re first-class citizens. And we do the same for Flash, Flex and Silverlight. The fact is that all of these technologies are going to be with us for a long time, and the faster we embrace them, and learn how to make them work for people, the better we will all be for it.

You can preorder UD4WA on Amazon. And come see us Wednesday at 9am in 1A21 & 22 at the Javits Center.

Here’s a shot of the cover:

Universal Design for Web Applications book cover, featuring a woodcut of an Italian greyhound

Olympics on the web, live, worldwide: when?

Filed in: culture, media, sports, Wed, Aug 6 2008 13:48 PT

On the eve of the first Olympics in which live and on-demand content will be available on the web in most countries, I have to wonder how long it will be until the IOC recognizes that they should no longer bother to embargo content to match the prime-time schedules of viewers around the world.

This time, broadcast licensees in many countries will be running their own Olympics video sites (and 77 more will have a YouTube channel, restricted to their countries by geolocation). This builds on the 2004 coverage, which was spectacular in the UK, thanks to the BBC, but generally pretty poor everywhere else. It served as a good proof of concept, at least. I do think, though, that the feedback this time around will be that users will be confused, or frustrated about content not being where they expect it to be, since the networks will hold on to it until it’s been broadcast.

Hardcore Olympics fans don’t care when it’s prime time. And they get impatient when they know the event is finished, but still, they don’t see the results. On top of that, we have time-shifting technology, which evens out the playing field for everyone. So when will the IOC finally realize what’s good for them, and require broadcasters to show events online, in real time?

My guess is no later than 2016. Beijing is the largest experiment yet in web video, and they’ll have enough time to learn in time for the 2010 Winter Games in Vancouver/Whistler. The Winter Games are much smaller, in terms of events, participants and viewers, so this could be a great dry run. London hosts in 2012, and their infrastructure is probably much better suited to a widescale video deployment. My only question is whether there are too many signed agreements already, which would preclude a full, real-time Games.

After London, it’s hazy. The Winter Games in 2014 are in Sochi, Russia, and even six years out, I don’t have high hopes for them to take the lead in Internet distribution. That leaves the 2016 Games, which are down to Madrid, Chicago, Tokyo and Rio de Janeiro. All but Rio could pull it off easily, and maybe with 8 years of preparation, Rio would be ready too.

Any longer than that, and I think people the world over will start to wonder when the Olympics, an event created to sponsor international unity, will live up to its billing and put the athletes in the spotlight, even when that spotlight falls at 3am Eastern, or Central European, or Japan Standard Time.

eBay, please don’t speak for me

Filed in: Web, design, vent, Mon, Jul 28 2008 09:06 PT

I just had a horrible experience with eBay, which I think is summed up in this message I just sent to them.

I have a serious complaint with the way eBay sends automated messages. I was forwarded a message sent from eBay to the seller, which reads:

“I would like to have the item shipped to the address below:”
…followed by the shipping address in my eBay account.

However, I had never asked eBay to give that address as the shipping address, and in fact, the payment info I sent on PayPal had the correct address. As a result, the seller shipped the package, then went out of her way to return to the post office to change the shipping address from the _right_ one to the _wrong_ one–all because eBay says I told her to. And now the package will be delayed by a full week, and arrive at my home, where no one will be present to pick it up.

I hold eBay and its email notification system responsible for this.

eBay should never, under any circumstances, misrepresent its users by making statements beginning with the word “I”. You do not speak authoritatively on behalf of your users. I’m a designer and I understand the urge to sound human, but in this case, and I’m sure many others, you are doing more harm than good. I am extremely displeased that my package will be late, but even more upset that eBay sees fit to substitute its words for mine.

The same goes for any other e-commerce outfit out there. I know it sounds all down-home folksy to say things like “I would like to have the item shipped…” instead of “The buyer’s address is…”, but you don’t know what I want. You only know what your user tells you. And you should never communicate more than that.

On supporting the troops

Filed in: Iraq, personal, politics, vent, Mon, May 19 2008 13:57 PT

I have a sister who’s 18. She’s studying nursing at Northern Arizona University, and I’m really proud of her. Occasionally, though, she sends me chain letters, and I just got one from her today. It consists of couplets contrasting our relative comfort against the struggle of our soldiers in the Middle East:

You walk down the beach, staring at all the pretty girls.
He patrols the streets, searching for insurgents and terrorists.

You’re angry because your class ran 5 minutes over.
He’s told he will be held over an extra 2 months.

You criticize your government, and say that war never solves anything.
He sees the innocent tortured and killed by their own people and remembers why he is fighting.

And so on. It ends:

If you support your troops, send this to 7 people.
If you don’t support your troops well, then don’t send this out.
You won’t die in 7 days, your love life won’t be affected, and you won’t have the worst day ever.
You don’t have to email this. It’s not like you know the men and women that are dying to preserve your rights.

And that was enough to set me off.

The classic subtext in the “support the troops” argument is that those who oppose the administration’s objectives in prosecuting the war are somehow “against” the troops. Which is like saying you hate your favorite sports team simply because you think the owner or general manager is a bum. Actually, it’s far worse than that: it is to suggest that you therefore hate each player to the extent that you don’t care if they die.

During the first Gulf War, I was proud to wear a yellow ribbon because I was proud of the individuals that make up the military, if not the proverbial owners and general managers. That’s still true today, individual crimes and misdemeanors notwithstanding. But the yellow ribbon is now driven by that quiet dual meaning, and I won’t wear one because it’s more important for me to be clear about my divided opinions of the management versus the rank and file.

What really got to me about this letter was that it reminded me of a story from my past, and since my sister was so young, I thought it best to relay it to her:

So, you probably don’t remember this, since you were 2 at the time. But during the first Gulf War, there was a billboard on the railroad between Santa Fe and Butler (in Flagstaff, Arizona) that had a “We Support The Troops” sign. One night, someone went up and papered over the words “the troops” with “Death and Destruction”. The next day, my friend David and I climbed up 20 feet onto the billboard to scrape it off. And I’d do it again.

So if you ever meet whoever started this chain letter, tell them I said if they think I don’t support the troops because I won’t forward their preachy, jingoist message, they can FUCK RIGHT OFF. For real.

Nothing personal. I still love you. It just pisses me off like nothing else when people confuse being against the war with being against soldiers. I care a lot about the soldiers, and I’m willing to do a hell of a lot more than start a chain letter if it would help make them safe, strong and free.

Love,
m

@alt and the Flickr Defense

Filed in: Web, accessibility, Thu, May 1 2008 18:09 PT

Alt text matters to users. When an image is not visible, due either to a user’s own visual or cognitive disability, or their use of a low-bandwidth or intermittent connection to the web, @alt is there to provide the necessary, missing semantics. This is a good thing. So good, in fact, that @alt is a required attribute in HTML 4.01 and all flavors of XHTML. If you omit alt text, your code is not valid HTML.

However, as of today, alt is not a required attribute for the img element in HTML5. Despite claims that this is neutral or even beneficial to accessibility, this is a bad idea, made worse by adversarial relations between participants in the HTML Working Group and accessibility advocates, including those in the W3C/WAI Protocols and Formats Working Group, of which I am a participant.

Much of the discussion around this rather tense standoff has centered around what I call the Flickr Defense. It goes like this:

Sites like Flickr depend on user-generated content in the form of uploaded images. (Of course Flickr now accepts video, something that has also been added to HTML5, and which may have even bigger problems than the issue at hand. But that’s for another time.) Flickr doesn’t know what to communicate as meaningful alt text. But if we want them to adopt HTML5, they wouldn’t be able to create valid documents without that @alt. So in this very limited case, Flickr should be able to have an img element without @alt.

This argument is bogus on numerous counts.

First, let’s dispense with the very limited case for making @alt optional. Once an attribute like @alt is optional anywhere, it’s optional everywhere. One could make the argument that the specification limits the scope of acceptable use of missing @alt to only where it’s not possible for it to be meaningful. But that’s just one image out of 65 on the average Flickr photo page. And if it’s an optional attribute, we could strip the alt text from all of those other images, and an HTML5 validator could do nothing but assert that it remains valid. That’s a huge step backward for users as well as accessibility evaluation tools, which interpret missing alt as an error. But more on that later.

Second, Flickr could, in fact, require that meaningful alt text accompany images that are uploaded. Other sites, such as Smugmug, actually do offer the ability to do that, either as they’re uploaded, or as a batch job after the fact. The Authoring Tool Accessibility Guidelines 2.0, which apply explicitly to sites like Flickr, require that such sites prompt users for that content. If they prompted for and stored that content from the user, they’d be able to insert meaningful alt text where it is required. There’s no need to give them a pass.

(Although that’s exactly what the Web Content Accessibility Guidelines 2.0 does. Flickr could make a partial conformance claim stating exactly why they can’t produce alt text. They could still insert generic alt text like “user-uploaded image” and satisfy the requirements of users with disabilities to some extent.)

Third, Flickr image pages have over 80 validity errors, and that’s just HTML 4.01 Transitional. Why should the HTML specification make supposedly narrow exceptions to the spec to be more lax about validation when the sites themselves aren’t even trying today?

How it works today

There are three conditions for alt text that are currently determinable:

  • This image has meaningful alt text. (alt=”foo”)
  • This image is decorative, and needs no text equivalent. (alt=”")

The third is determinable now, but would not be in HTML5 as proposed:

  • The author has not entered alt text for this image. (missing @alt)

This is critical because assistive technology looks for repair data (including filename, etc.) when @alt is missing. We need to know whether @alt is null due to conscious effort, or that it has been ignored, in order to know what to do next.

The Flickr Defense is a fourth state:

  • The author asserts that s/he cannot provide alt text.

It is the wrong solution to take away the semantics from the third state to indicate the fourth. There would be far more missing @alt attribs due to inattentiveness on the part of the author than conscientious statements that @alt is not possible.

The clearest indicator that this is an awful idea is that same Flickr image page. All of the images with missing alt attributes on the Flickr image page could have meaningful data. In fact, most of them do. It’s just sitting in the title attribute instead.

So what do we do, smart guy?

I don’t want to propose a solution to the problem when I think the status quo in HTML 4.01 doesn’t need to be mucked with. But, okay, you read a big long accessibility article, so here’s a thought experiment.

Add an attribute. Call it @usergenerated. When a UA encounters this attrib, it indicates that the author has stated alt cannot be provided programmatically.

It would be even better if other users could detect that attrib and annotate the attached image. If you could get around the spam potential, this could be a real winner. Crowd-sourced @alt. That’s actual accessibility progress, measurable today.

If you can’t do that much, leave @alt alone.

Gez Lemon’s analysis of the subject got me wound up enough to write about it. If you don’t like what I had to say, blame him.

(Note: This isn’t meant as a critique of Flickr per se. It just happens to be a site that’s being held up by third parties as the reason to backtrack on @alt as a required attribute.)

Aging and accessibility

Filed in: Web, accessibility, design, Mon, Mar 31 2008 17:07 PT

You know what I think should cause everyone to give at least some thought to accessibility?

Your thirties.

I remember one day, when I was 30. I threw the sheets off the bed, and shot my legs out to launch myself from the bed. I took two steps forward, saw a blinding light… and found myself lying on the floor, unable to move for several minutes. It was my first back spasm, and knocked me out of commission for a couple weeks.

Suddenly, things I took for granted, like getting up and looking in the fridge, were things I had to consider. I didn’t want to go anywhere, because it hurt to breathe, much less move. But in that time, I had to fly cross-country to tend to my grandmother in her final days, and that meant managing my pain while my back was screaming in an airplane seat, and then being wrenched as I carried all my luggage. It was the first time that my mobility was reduced, the first time I preferred elevators to taking the stairs two at a time, and the first time I had to depend on other people to help me do what I considered to be basic tasks.

It seems that since then, every six months I get a reminder that my body is not necessarily my friend. Most recently, I strained a ligament in my foot while exercising. Let me tell you, foot injuries suck. When your foot hurts, you keep hoping it doesn’t get worse. And when it doesn’t, you’re scared to do anything that might aggravate it again. So I had a very strange weekend that involved walking with a cane to keep weight off my foot.

It’s simple to look at people with a visible disability and say, I’m glad that’s not me. But you know what? Sooner or later, it will be.

Your vision will likely be the first thing to go. You may strain to read small type, at first. Then, maybe you’ll try bifocals. After that, as the effects of presbyopia set in, you’ll come to rely on your glasses to read. Your vision may start to yellow a bit, as well.

But wait! There’s more!

Hearing loss is a common side effect of the aging process. You may also encounter problems with arthritis (by the way: you’re not resting your wrists on the wrist rest while you’re typing, are you? Are you?), or any of a host of other fine or gross motor dysfunctions that will advance over time. And you may find that your cognitive abilities aren’t as sharp as they once were. (Hopefully before those around you start talking about it.)

I started doing web development when I was 20. At the time, it was barely conceivable to us that people of a certain age would be using the web. We didn’t even know if the web itself was going to last. But here it is, still chugging after a dozen and a half years, and not looking a day over 10.

And nowadays, I look around at the people I’ve worked with, and some of them are really old. Like, in their fifties! Some have even retired — the kind of retired where they’re collecting Social Security and posting pictures of their grandkids to Flickr. Get it? They’re using Flickr. And YouTube. And Gmail, and Twitter, and especially eBay. They also tend to have money to spend, and companies tend to like people like that.

And yet, I still hear people dismissing accessibility for older people on the web. That’s not going to fly any longer. Younger people are coming up on the web, that’s true. But those of us already there are only getting older, and we’re not going to stop liking the web anytime soon.

Keep this in mind when you’re about to downplay whether older users will want to use your site. The right thing to ask is:

Will you want to use this site when you’re older?

Or maybe, do you want some 20-year-old smartass deciding you won’t?

What I’m up to

Filed in: personal, Wed, Mar 5 2008 22:59 PT

Okay. That felt good. Now that I’ve resurfaced, here’s the update.

I won’t be at SXSW this year. Sorry. I really wish I could, especially after seeing some of the accessibility sessions. If you’re going, do not miss Derek Featherstone’s Star Wars session, or Gez Lemon’s ARIA primer.

I will be at the CSUN conference, that being the biggest accessibility and technology conference around. I’m giving a talk about building accessible web content with Dreamweaver and Flash CS3 on Wednesday, March 12. Do drop by, won’t you?

I also spoke at Ignite Seattle two weeks ago, and I’m really happy with the feedback I received. The video should be posted shortly, at which time I will relay it to y’all. It’s only 5 minutes long, so it shouldn’t be too painful.

I’m still taking Arabic. I’m finishing 203 this month, then starting 204. I’m planning a trip to Jordan in April (yay, frequent flyer miles!). A classmate just sent me an email showing that the Foreign Service Institute’s rated time to reach professional proficiency in Arabic is 1950 hours, or 30 hours a week for 65 weeks. Woohoo! Only 1800 hours to go!

And Adobe is still my employer. (I know. I’m as surprised as you are.) As great as it is, it’s still a bit strange working for a company where you can be around for three years and still be considered a noob. I’m about 9 months in, so that reality is just now setting in.

Finally, my time as Seattle’s grandmaster speller will run out in April, as the third and final season of the Seattle Spelling Bee comes to a close. To all you young spellers out there, a bit of advice: don’t let all the fame and the groupies go to your head. Always remember, it’s about the orthography.

IE 8: web standards win

Filed in: Web, accessibility, 22:38 PT

It must have been some kind of event for me to break my blogging silence.

I read about the IE 8 beta (and I’ll test it for myself as soon as I prep a fresh virtual machine…). Key features include support for the WAI-ARIA spec, and Acid2 compliance. Chris Wilson apparently also said during his talk today at Mix that they’re aiming for full support for CSS 2.1.

Okay, guys. You win. I’m impressed. There, I said it. I said something nice about Microsoft. I even did it on my Tablet PC, running Vista, just for good measure.

I was one of many who groaned at IE 7 when it caused a new round of conditional comment breakage, and when its own issues started to pinch authors into making more tweaks just to keep standards-based development working. Back then, I saw it as a small step forward for a team that had just been reassembled. I hoped for big things to come after - big, positive things - but so far, if the bits resemble the hype, let me be the first to welcome Microsoft back to the standards-based web.

There have been almost too many battles to name in the web standards arena over the last several years, and there are still some that make me itch. The <canvas> element springs to mind. But the thought of every major vendor finally supporting HTML 4.01 and CSS 2.1 has left me almost giddy, and ARIA support in all the major browsing platforms just puts me over the top. I think it can now be said that the standardistas have finally got what they wanted: a stable contract with browsers that what they code is what the user will get.

What next? Oh, I don’t know. How about we gather up everybody still designing web sites in 2008 using layout tables, font tags, and the like, and run them out of town on a rail? Who’s with me?

Greetings from the road

Filed in: personal, travel, Sun, Oct 7 2007 05:08 PT

From: Madrid, Spain

Wow. What a week. It’s been good enough that I’m actually blogging again. (Hey, remember when Matt used to blog?)

I spoke at Fundamentos Web 2007 in Gijón on Wednesday. The topic was designing new technology to build on the accessibility we already have, rather than stripping it away. The audience was fantastic, and the people who put the show on deserve recognition as the best conference organizers I’ve ever worked with. All of that more than made up for the fact that I was speaking some 20 hours after arriving in town, after 25 hours of travel, and that my MacBook Pro crashed while I was plugging in, and wasn’t in a usable state for another 20 minutes, and that I had to follow Jeremy Keith and Jeffrey Veen. You know. No pressure.

I’m in Madrid today, and I’m officially on vacation. It’s a great feeling to be in a city that makes time for napping, especially since the bar-restaurant-club progression usually starts around 8 or later in the evening, and doesn’t finish until 3 or 4 in the morning, if you’re lucky. And I can never sleep in past 8:30, so the siesta is very worthwhile.

Last night, my former coworker Charles took us out to the neighborhood bar. After the bartender poured us our cañas (small beers, always served with tapas), I offered one of my hosts some cash, and Chaals, an Australian who knows his way around this part of town, told me: “They won’t take your money here.” When I inquired further, I was informed that until he was finally able to order drinks like a local, they refused to let him pay.

At all.

For two years.

Later in the evening, after the sit-down dinner, we played darts in a Communist Party headquarters. The place was covered in pictures of Che. It was a pretty trippy evening. :) I’m leaving in a bit to try to see a Real Madrid match. (Getafe, where I’m staying, and Atlético are both playing away matches.) I was going to try to make it to Bilbao to see the Guggenheim, but I don’t think the travel gods are with me this time around. I’ve only been gone a week, and already I’ve had a full trip. Just wait until I get to Cairo.

Powered by WordPress (RSS 2.0, Atom)mobile phone