Category: accessibility

abbr datetimes in microformats?

James Craig and Bruce Lawson have raised an issue on the Web Standards Project blog today that I’ve been meaning to blog about for a while: accessibility issues raised by the use of abbr elements in the Datetime Design Pattern to provide machine-readable representations of dates in microformats.

In their blog entry, hAccessibility, James and Bruce explain my thoughts on it very well – it saves me writing it all up! It’s well worth a read if you’re into microformats.

To summarise my thoughts…

Basically, I think the expansion of an abbreviation should be human-readable. Inspired by an e-mail from Jim O’Donnell, testing microformatted date and time with screen readers back in October demonstrated that an ISO date format is hardly nice to hear being read out by a screen reader.

Having said that, it’s worth bearing in mind that, if a screen reader user cannot understand what is being said, they may well go through the text character-by-character in order to understand it. If someone does this with an ISO formatted date, it may still not sound great, but might then be easier to understand.

More recently, after discussing this quite a bit with Jon Tan, I settled (at least, for now) on using span for microformat datetimes instead of abbr, which obviously means my microformatted dates may not get parsed correctly. I think it’s a far better solution than using abbr, at least until something better is decided upon.

Jon and I have discussed a couple of alternatives:

  1. Prepending the title attribute of an abbr element with some human-readable text to give context to users, e.g. “ISO date format: YYYY-MM-DDTHH:MM:SS+ZZ:ZZ”
  2. Although this may be a corruption of Web standards in itself, using the lang attribute to declare the date format being used, either following it by the formatted date or putting the formatted date in the title attribute.

Anyway, check out the discussion on the hAccessibility entry. I’m interested in seeing where it leads and to what solution.

Updates

29 April 2007

Following comments on hAccessibility, it was proposed that the datetime design pattern for microformats be extended to allow the use of the title attribute on a series of permitted elements, e.g. span, em, etc.

There are problems here:

  1. Losing the abbr means that the “semantic tie” between the marked up text and formatted datetime is lost. We are no longer providing context to the datetime information.
  2. The title attribute may be validly used to provide additional information to an element. As such, wherever a title attribute is already in use on an element, that element cannot be used to also provide a formatted datetime. We don’t want the datetime to get in the way of any valid use of the title attribute. It could also make parsing unnecessarily complicated. The span element is meant to be semantically neutral, so the title attribute on a span is unlikely to carry something functional to users since there is no “semantic tie.”

This is just a cursory observation, but it seems we’re trying to use the title attribute to contain what is essentially metadata meant for machines. Other microformats design patterns have used the rel attribute for meta information. The problem is that rel always contains the context for a (usually human-readable) value specified elsewhere, e.g. the name of a person marked up with XFN is given context by the value of the rel.

What we need is a mechanism by which we can specify a “meta value” – a value that is not appropriate within the context of normal page flow – as you might with meta elements in the head. XHTML 2 adds support for this kind of thing, but what can we do now? Unfortunately, there’s no other attribute more appropriate for this use than the title attribute. The datetime attribute is only permitted on ins and del. If only we could do something like <span class="dtstart" rel="datetime:YYYYMMDDTHHMMSS+HHMM">!

The discussion continues on the microformats discuss mailing list.

30 April 2007

I knew I’d read about this before! Accessify Forum: Use of <abbr> in microformats

Government responds to website accessibility e-petition

Towards the end of last year I wrote an entry urging readers to sign an online petition. The petition aimed to highlight the poor standard of accessibility in UK Government websites following the launch of a disappointing new website by the Department for Trade and Industry (DTI) in May 2006.

In what I’m starting to percieve as “bloomin’ typical”, the Government response to this e-petition leaves the main question unanswered: how is the Government going to ensure that the websites they launch will be accessible?

Smokescreen

The Government’s response implies that their current strategy will ensure accessibility, but the sub-standard DTI website contradicts that claim.

In the response, they mention that their Digital Strategy “is to be implemented by [the] DTI” (my emphasis). The Government’s Digital Strategy has been around since March 2005 and includes the following statement of action:

Tackling social exclusion & bridging the digital divide

Action 7: Improve accessibility to technology for the digitally excluded and ease of use for the disabled

Connecting the UK: the Digital Strategy

The new DTI website was launched in May 2006, over a year after the Digital Strategy was published. So, the DTI website fell short of this action, despite the fact that the report outlining that strategy was jointly written by the Prime Minister’s Stategy Unit and the DTI. They fell short of meeting their own standards.

For me, this fact doesn’t support the idea that the DTI is capable of supervising the cross-government review of the Digital Strategy mentioned in the response to the petition. Ian Lloyd raises this point for discussion over at Accessify:
Typical Government Response? Yup.

But what can you do? Time for another petition?! Or is that just another waste of time for the general public?

Petitioning for accessible governmental websites

Following the disappointing redesign of the Department for Trade and Industry (DTI) website earlier in the year, an online petition has begun to collect signatures on the Prime Minister’s website in an attempt to highlight the issue of accessibility standards for UK Government websites.

A little background

Earlier in the year, the DTI re-launched their website after investing £200,000 to rebuild it, the requirements for which included meeting the Government’s accessibility requirements.

In December 2005, Alun Johnson of the DTI had the following response to a question from Charles Hendry, Conservative MP, regarding the level of accessibility the DTI intended to achieve:

DTI follows the Guidelines for UK Government Websites which mandate Level A of the W3C‘s Web Content Accessibility Guidelines. DTI aims to go beyond this by meeting the AA standard, along with those elements of AAA which are considered best practice.”

Trade and Industry: Departmental Websites

However, the new site was launched failing even basic accessibility guidelines, hence failing to meet those standards and the requirements specified in official documentation.

Since the launch, two respected professionals in the Web community, Dan Champion and Bruce Lawson, have contacted the DTI in an attempt to ascertain how a Government body could allow such a failure to occur, and what plans are in place to rectify the situation. You can find out more on Dan’s and Bruce’s websites. Suffice to say that the DTI are lacking in useful responses, but an accessibility audit of the website is being carried out.

So, a Government body who claim to champion equal access to online services – and indeed should be attempting to do so – have instead seemingly wasted a large amount of resources and public funds on producing something that is far from adequate in the eyes of the Web design industry. And it’s only going to cost more to rectify the situation.

We the undersigned…

An important question now is one of how to ensure that the mistakes of the DTI are not repeated in other government organisations.

If you are a British citizen (or an expatriate) and think that websites launched by the UK Government should be accessible to disabled people, you can show your support by signing the online petition on the Prime Minister’s website, which has attracted over 100 signatures in its first week.

If you are a Digg.com user, you can digg the petition and help by increasing its circulation.

Updates

21 Mar 2007

The Government has dodged the point in its response to this e-petition. It’s a shame, but probably to be expected judging by the responses from the DTI concerning their website. Read more in Government responds to website accessibility e-petition.

Support for Aural Style Sheets and the CSS Speech Module

Questions concerning current support for aural CSS have come up on Accessify Forum and a couple of other places recently, so I decided to collect my knowledge of aural CSS into a single resource to share with all you lovely people.

After some discussion on the GAWDS mailing list at the end of September, I ran some tests to see whether or not there was scope for using aural CSS to control how a screen reader says different types of abbreviation. In turn, this involved determining the level of support for aural CSS properties in current software. The tests failed in JAWS and a bit of research that followed uncovered various suggestions that there is very little support out there.

So, expanding on and supplementing my notes from those tests, I have written up a page covering my knowledge of aural CSS for anyone that is interested. Perhaps having this information in one place will be useful to people:

Aural CSS: Support for CSS 2 Aural Style Sheets / CSS 3 Speech Module

If you find any of the information to be incomplete or inaccurate, please let me know so that I can update the page.

Lab Update, October 2006

This is just a quick post to say that I have updated the lab with some of my latest screen readers tests, including a series of tests investigating how screen readers pronounce certain words and phrases in different contexts.

I’ll be updating those tests with more results as I get them, and I may be persuaded to re-post here with any findings too!

Elsewhere