The unicorn’s horn looks crooked

January 20, 2009 —

Yesterday, I mentioned http://usaservice.org and the significance of President Obama’s understanding and use of the web. Today, the new http://www.whitehouse.gov was unveiled, giving further proof.

Both sites demonstrate something we’ve never before seen: an administration with a genuine desire to connect with the public. And they’re using the internet to do it. This desire alone is a profound move forward for the country.

What makes it exciting as a web guy, though, is the idea that our government is now demonstrating an appreciation for design, usability, and accessibility* on the web. The fact that these sites validate is big. So is the White House’s new creative commons license on site content.

There are other observations being made around the coolers, though. The code isn’t semantically correct. The site is running off of asp.net. As far as I’m concerned, these are distractions. The negative comments remind me of those coming from the trolls on Zeldman’s post regarding the Apple store redesign. Unnecessary.

Maybe it’s time to cut back a bit on the elitism and recognize that sometimes better comes in steps. What we got today is a really big step.

Waiting on Capitol Hill

October 21, 2008 —

I’m ready for a set of css standards that can be hung on a wall. In the absence of it, personal preferences and frankenstein techniques come into play and eff with code versatility.

Given a long enough timeline involving enough developers, you’ll see what I’m talking about. I’ll give you a quick example, though: misuse of whitespace resets.

I’m all for resets so long as they don’t involve an asterisk. The name is misleading, though. Very little is actually being reset. In most cases, the browser-defined preferences are simply being cleared out, leaving certain html elements devoid of any visual interpretability whatsoever.

The idea, of course, is that these styles would then be set to apply a new style to each occurrence of the respective element. But that part gets missed. (Especially in cases built around placeholder content.)

Developers define attributes for specific occurrences of the element (i.e., design interface occurrences) but miss the global instances that can kill content readability. Paragraphs get slammed together, lists are left without visual cues identifying them as such, blockquotes look like plagiarized content, etc.

It seems like this shouldn’t happen. But an absence of comprehensive standards results in people employing the incomplete kind. And bad code finds its way online.

I’m looking forward to the day this changes. Despite all the gross code I’ve contributed personally over the years, I’m still surprised at how often these things come up.