Archive for the 'HTML5' Category

Proposals for changes to lists in HTML 5

Wednesday, October 8th, 2008

One of the things that have long irritated me about HTML is the restriction on what elements are allowed inside lists.

The specs for both HTML 4 and 5 allow only li for ul, ol, and only dt and dd are allowed inside dl definition lists. I’d like to expand that to allow h1h6, section and div.

I was talking to two of Opera’s Standards reps, Anne van Kesteren and Lachlan Hunt, about this and they suggested that I make a proposal to the HTML 5 working group, with appropriate use cases.

So before I make a tit of myself by putting flawed proposal to that somewhat grumpy group, I thought I’d do what Eric Meyer did and ask developers at large what you think. Here’s my reasoning—and if you have any more use cases or objections, please let me know.

Allowing headings (h1h6) in lists

Until recently, I worked for the Law Society and Solicitors Regulation Authority. In such a business, we spent a lot of time marking up rules, regulations and statutes.

In the UK, as most (all?) other jurisdictions, laws and rules are written with numbered paragraphs. Within those lists are headings that introduce sections. The headings are not part of a list item, but group list items. Check out any of the thousands of examples at Office of Public Sector Information or the UK Statute Law Database.

Here’s a small but nevertheless real-world example: take a quick look at the Solicitors’ Practising Certificate Regulations 1995 (PDF 34K), which I naturally want to mark up like this:

<ol>…
<h2>Commencement</h2>
<li> These regulations replace the Practising Certificate Regulations 1976 in relation to all practising certificates, and applications for practising certificates, for any period commencing on or after 1st November 1995.</li>
<h2>Requests for information</h2>
<li>In addition to information supplied on any prescribed form under these regulations, solicitors must supply to the Law Society such information as to their practice as solicitors as the Society shall from time to time reasonably require for the purpose of processing applications.</li>
<h2>Replacement date and conditions</h2>
<li>The replacement date for every practising certificate shall be the 31st October following the issue of the applicant’s current practising certificate.</li>
<li>Every practising certificate shall specify its commencement date, its replacement date, and any conditions imposed by the Law Society</li>
…</ol>

You’ll notice that the heading "Replacement date and conditions" is not part of either of the following two items, so is not a child of either li. Instead, it groups (or introduces) them, and therefore, its semantically most appropriate location is as a child of the surrounding ol.

Another way to mark up this document is as a succession of headings and paragraphs, with each paragraph beginning with a hard-coded paragraph number, perhaps surrounded with a span that is styled with dislay:block; in order to make the number look like a list marker. This spectacularly fails the Bruce Lawson Markup Duck Test which states that if it looks like a duck, walks like a duck and quacks like a duck then it is a duck: a list of paragraphs, each beginning with a number indicating the order of the paragraphs is an ordered list, and needs to be marked up as one.

Take a more complex example, Legal Services Act 2007, paragraphs 203-206. This legislation is a long list of numbered paragraphs, interspersed with headings to group the following paragraphs into sections. Being more complex, this legislation has nested (ordered) sublists, but the same logic and basic structure holds here too:


<ol>

<li><h5>
The giving of notices, directions and other documents in electronic form</h5>
<ol>
<li>[subparagraph 1]</li>
<li>[subparagraph 2]</li> …
<li>[subparagraph 8]</li>
</ol>
</li>
<h4>Orders, rules etc</h4>
<li><h5>Orders, regulations and rules</h5>
… lots of subparagraphs …

</li>
<li><h5>Consultation requirements for rules</h5></li>
<li><h5>Parliamentary control of orders and regulations</h5></li>
<h4>Interpretation</h4>

</ol>

A counter argument is that that these whole piece of legislation is an ordered list of sections, each containing a sublist list of paragraphs within that section.. And that is an legitimate way to look at it, except that the actual numbered paragraphs would no longer have the correct paragraph numbers auto-generated, as they’d be split into sublists.

Playing with CSS counters wouldn’t help, as different lists are treated as separate entities, so numbering in one list can’t follow on from numbering in another list. To avoid the paragraph immediately below a section heading (the h4 in my code example above) going back to 1, you would have to give the li a start attribute and hard-code the paragraph number, making a mockery of the idea of automatically generating numbers in ordered lists. Even if it could be faked with CSS counters or hardcoding the start attribute, it shouldn’t be because that fails the Duck Test, too.

HTML 5 sections

For HTML 5, it would be ideal if the spec allowed the new section element to be a child of a list. This means that content could be pulled from a CMS into different pages with different heading hierarchies, and the headings would automatically be the correct level within that context. This is an idea from the XHTML 2 spec, which has an unnumbered h element:

Structured headings use the single h element, in combination with the section element to indicate the structure of the document, and the nesting of the sections indicates the importance of the heading. The heading for the section is the one that is a child of the section element.

In HTML 5 this is complicated by backwards compatiblity, so any heading element from h1h6 can be chosen, and the headings and sections algorithm determines what “level” it actually is. (See A Preview of HTML 5 for a more readable discussion of section).

I’ve marked up the Practising Certificate example as HTML 5 and styled the various different levels of h1s using CSS so you can see a practical example of the usefulness of allowing headings and section to be children of a list.

Headings in definition lists

An example in a definition list would be similar. Here’s a real-world glossary marked up as a definition list (which is the best way to mark them up, in my opinion, although some favour tables).

A really long alphabetical glossary would be enhanced by dividing it up with headers for each letter of the alphabet, for reasons of scannability, or so an on-the-fly table of contents generator could make a linked table of contents above the glossary.

That could be done by the following (illegal code):

<h1>Glossary</h1>
<dl>
<section>
<h1>A</h1>
<dt>Aardvark</dt>
<dd>Never hurt anybody</dd>
<dt>Allegro</dt>
<dd>The lower limbs of people standing side-by-side</dd>
<dd>The finest car known to man</dd>
</section>
<section>
<h1>B</h1>
<dt>Bee porn</dt>
<dd>See Christian Heilmann, Tom Hughes-Croucher</dd>
</section>
</dl>

You might say that each letter of the alphabet should have its own dl. I contend that a glossary is a single entity, not twenty-six different lists and would reply "Tish and pish, sir. You are a nincompoop, and your words are balderdash, poppycock and gobbledegook."

And I’d be right, and you’d be sorry.

Allowing div as a child of a list

While we’re talking of rules and specifications, I’d like to know why I can’t use div inside a list.

Mostly I’d like to do this so that I could properly style definition lists to look like tables.

You can’t reliably style definition lists at the moment, but you can if you can wrap a dt and its associated dds in a div. This is illegal, but works cross-browser already.

I agree with the HTML 5 gang when they refuse a new grouping di element (presumably "definition item"), saying "This is a styling problem and should be fixed in CSS. There’s no reason to add a grouping element to HTML, as the semantics are already unambiguous."

Yes, there is no reason for a new definition grouping element; we already have a generic grouping element called div. And, yes, it’s true that it’s a problem for CSS, but with all the other stuff on the CSS Working Group’s agenda, they’re unlikely to get round to it soon.

It must be a common problem (the HTML 5 crew cite it as a "frequently asked question") and it can be easily solved using the interoperable, backwardly-compatible method I outlined above.

It also raises a philosophical question: I can understand why there are restrictions on where some elements can go (for example, it would make no semantic sense to allow a list inside an image), but why restrict where an author can put an element that has absolutely no meaning ("The div element represents nothing at all")?

Conclusion

I see the argument against over-complicating a specification, but I think that if a new spec can’t accommodate real-world examples of content then the specification is not in danger of over-complication—rather, it’s currently over-simplistic. HTML 5 has been bravely making itself backwards-compatible and thereby becoming more complicated in some areas (such as the algorithm for working out the importance of headings in sections), so slight extra complication to help developers can also help its adoption.

Thank you for reading this far, dear reader. Am I talking nonsense? Have I missed something obvious? Do tell, before the HTML 5 gang employ sarcasm or scorn at me.

Speeding adoption of WAI-ARIA

Saturday, September 27th, 2008

The Web Accessiiblity Initiative’s Accessible Rich Internet Applications Suite, WAI-ARIA is a simple way to add information to HTML that can make Ajax applications accessible. It’s being supported by all the big four browsers and screenreaders are starting to support it.

Therefore, although the specification is still formally in “Working Draft” status, the W3C are encouraging authors to use it now. I plan to; it’s the only game in town to add the necessary semantics to lovable old HTML 4 until HTML 5 is widely implemented.

To encourage adoption, there is a mailing list called the Free ARIA google group which you can read and join.

Opera is taking the message to the Ajax crew at the Ajax Experience conference next week, and Anne Van Kesteren is presenting “Ajax 2.0” in which he’ll introduce and demo ARIA (and other exciting things).

Speaking from my experience as a web author, though, one of the things that might slow adoption is the fact that new semantics like ARIA don’t validate against the old HTML specs. As someone who has spent half a decade badgering people about valid code, I know that lots of enlightened organisations don’t allow invalid code on their websites—and these are just the kind of thought-leaders who I’d like to see adopting ARIA.

The experimental HTML 5 validator has support for ARIA but doesn’t have the kudos of the W3C name.

So, I suggest that the W3C to add ARIA to the official validator. That would send a strong message about its commitment to ARIA, as well as allow codeshops, organisations and individuals who want validation to use it, to the immediate benefit of web users with disabilities.

Added Tues 30 September: Steve Faulkner, of the Paciello Group and member of the W3C’s Protocols and Formats Working Group has asked if the W3C can build an a validator that can test (X)HTML and ARIA conformance.

Any-Element Linking in HTML 5 (sort of)

Thursday, September 18th, 2008

A while ago, Eric Meyer suggested that HTML 5 should allow any element to turn into a link by taking an href attribute - see his Any-Element Linking Demo. I suggested that, as a stop gap, HTML 5 should legalise the fact that all the big five browsers already allow the a element to surround multiple elements and block level elements.

I’m delighted to report that my fellow Opera lovegod, Anne van Kesteren, tells me that HTML 5 now legalises this behaviour. So instead of coding a news “teaser” like this:


<h3><a href="story.htm">Bruce Lawson as Obama's running mate!</a></h3>
<a href="story.htm"><img src="bruce.jpg" alt="lovegod" /> </a>
<p><a href="story.htm">In answer to McCain's appointment of MILF, Sarah Palin, Obama hires DILF, Bruce Lawson, as his running mate. Read more!</a></p>

you can say:


<a href="story.htm">
<h3>Bruce Lawson as Obama's running mate!</h3>
<img src="bruce.jpg" alt="lovegod" />
<p>In answer to McCain's appointment of MILF, Sarah Palin, Obama hires DILF, Bruce Lawson, as his running mate. Read more!</p>
</a>

You can’t nest anchors (”there must be no interactive content descendant”) because that wouldn’t be compatible with current browsers.

2022 can’t come soon enough!

(Of course, you can do this now; that’s kind of the point with lots of the HTML 5 spec.)

Added 2 October: something’s missing

What I can’t believe I didn’t notice until today is that the HTML 5 spec doesn’t handle making rows in tables into links. Ironically, this was Eric’s original use-case—and the main feature of his demo. I noticed it when looking at the WHAT-WG’s FAQs for something else.

Presumably, it’s not in the spec because it’s not backwardly compatible. Bugger.

Announcing a career change and life change

Friday, June 13th, 2008

As Friday 13th is almost always lucky for me, I’ve waited until today to announce what is a major career and hopefully life change.

For the last four years or so I’ve been a jobbing web developer and content editor, most recently as one half of the web team for a large organisation in the legal sector. It’s been a real eye-opener, working to evangelise accessibility and and build using standards while juggling organisational imperatives, sub-optimal content management systems and inflexible backends (ooh madam).

It’s been a privilege to work with the other half of the team, John Rieger, who has a George Orwell-like dedication to clarity of thought and clarity of language, and who is a trained print journalist yet completely gets the web: accessibility, web standards, usability—the whole caboodle. As a team, we crazily tested in other browsers, commissioned Stuart Langridge to write us top-notch scripts (that will be open-sourced when he can be arsed), and relentlessly focussed on the visitor with our web Constitution. I’m proud of what we achieved, and wish I could link to the redesign we worked on for months (but technical gremlins delayed launch).

However, I’ve decided it is time to move on, and am just about to fly to Norway to meet up with my new colleagues at Opera Software where I shall be a Web Evangelist.

Why Opera?

  • I’ve been promoting web standards for 6 years now, and the work that Opera does to promote standards will be a continuation of that. As the job ad says, “At Opera, we’re fighting for one web and open web standards, and we’re looking for an enthusiastic, passionate individual to help us in this fight!” and that, I hope, describes me.

    I like the fact that Opera practices what it preaches and will fight for it. I know that many thought Opera was wrong to complain to the E.U. about Microsoft’s abuse of web standards, but in hindsight, many see a link between Opera’s complaint and Microsoft’s change of heart over IE8’s standards compliance.

    To me, that’s a proven track record of success, a good outcome for all (Microsoft included), and I applauded them at the time for doing it.

  • I like Opera products, and remember reading in The Bangkok Post in 1998 about this alternative to IE and Netscape that I could carry on a floppy disc. So I did – and it’s been my leisure browser ever since (because of keyboard accessibility, rendering speed, tabbed browsing, and latterly the speed dial feature).

  • Opera will support my standards-based activities elsewhere, both financially and by giving me time to do them. This is important to them and really important to me, as I’ve found recently that having a full-time job, being a husband and father, singing in a band, going for my karate purple belt and telling the finest jokes on the web leaves no time to do the other stuff, like fighting the good fight in microformats, HTML5 and following up with the CSS3 call for suggestions.

    Although I’ll be travelling regularly to conferences and the like, when I’m not on the road I’ll be working from home, which means I can walk my daughter to school in the mornings and break from work to eat an evening meal with my family. So I’ll be able to devote more time to HTML5, to speaking engagements, to a hush-hush project with Patrick Lauke, Julie Howell and other accessibility luminaries, and still have a life.

  • The bloke who invented CSS, Håkon Wium Lie, is Opera’s Chief Technology Officer, so the whole office is suffused with webby goodness.

  • Oslo is cool.

  • I’ll be working on a team that includes an old friend from glasshaus publishing, Chris Mills who is Opera’s Developer Relations Manager, and the crazed genius that is Opera’s Chief Web Opener, David “not Dave” Storey.

    (I note in passing that compared with my job title and David’s, Chris’ is rather prosaic; I hope we can get him retitled to “Psychedelic tweaker of web nipples” as he deserves nothing less).

I think that this means that I’ll be blogging about technical subjects even less as I travel to Norway next week and to An Event Apart Boston the week after, and then take some time getting my head round it all. But then there should be a lot more activity and work done soon enough.

Given the huge overlap between my professional and personal interests, I’ll continue to blog here, but will double-post web standards-related posts to the forthcoming Developer Relations Team blog on the Opera site and open comments there. Filth and jokes will live only here, so please stay tuned, and wish me luck.

Oh - and try out yesterday’s release of Opera 9.5, just for me. It’s got new developer tools, and supports WAI ARIA and loads of CSS3 loveliness.

Is alt text necessary for photo sharing sites?

Thursday, June 12th, 2008

There is an argument raging right now about the HTML5 spec’s proposal that alt text on the img element be optional. The rationale is (I think) that some authoring tools do not allow authors to add alt text, so alt should be not be required for conformance with the spec.

I disagree. As Gez Lemon says, “when an authoring tool doesn’t have anything useful to put in for the alt text, the tool shouldn’t put anything in. A good authoring tool will check for missing alt text and offer to assist the user in repairing the content”. If you choose to use a crap authoring tool, then you will author non-conforming code (should you even care). The conformance bar shouldn’t be lowered to cater for rubbish authoring tools—or ignorant authors.

But as the argument has raged tediously this way and that, people have started to consider photo sharing sites and their use of alt. A site, like Flickr, where you can load up your photos and organise them is an authoring tool: it allows you to author a web page that’s a photo album. Photo sites should therefore confirm to the requirements of the Authoring Tool Accessibility Guidelines.

So, it’s argued by many who believe that alt text should be a mandatory attribute of the img tag, each of these sites should prompt the user for an alternative description of the photo they’re uploading.

But should they?

What’s alt text for?

Now this is really accessibility for beginners. It’s my first slide when I do “What is accessibility?” talks at conferences. But, like everything else in the merry world of accessibility, it’s not quite as simple as it seems.

The HTML 4 spec says

Several non-textual elements (IMG, AREA, APPLET, and INPUT) let authors specify alternate text to serve as content when the element cannot be rendered normally. Specifying alternate text assists users without graphic display terminals, users whose browsers don’t support forms, visually impaired users, those who use speech synthesizers, those who have configured their graphical user agents not to display images, etc. Source: HTML 4 spec

So let’s all agree that alt text is to “assist”. It’s there to help, not get in the way. Because of this, alt text describes the function of the image, not what it looks like.

It’s the same thought process as writing semantic mark-up. I use the Bruce Mantra: “It’s not what it looks like that matters, it’s what it is“.

Alt text for homepage links

A good example of this is the very common practice of having a corporate logo in the header of the page, which links back to your home page. The alt text here should not describe the image, but give its function, which—in this instance—is a link to the homepage.

So you don’t describe your logo with alt=”Bright red rampant unicorn pleasuring a walrus, with a nice ‘wet floor’-style reflection below to show we’re Web 2.0″, you simply write alt=”home”. If you don’t, you fail to assist the screenreader user, as they still can’t find the home link, and will soon get tired of hearing about unicorns and walruses at the top of every page.

(If you put no alt text at all, a screenreader user will hear either the filename of the image, or the URL of the link. This is no great problem if the filename is “logo.gif” or your homepage is “index.html”, but it can be a right bugger with big CMS-generated sites. Imagine listening to this example I picked at random from eBay today (line breaks inserted):

<a href="http://cgi.ebay.com/ws/eBayISAPI.dll?
ViewItem&item=280234051028%0D%0A%09%09&ssPageName=
MERC_VI_RCRX_Pr4_PcY_BID_Stores_IT
%0D%0A%09%09%09%09%0D%0A%09%09%09%09
&refitem=280235709798&itemcount=4&refwidgetloc=active_view_item
&usedrule1=CrossSell_LogicX&refwidgettype=cross_promot_widget
&_trksid=p284.m184&_trkparms=algo%3DCRX%26its%3DS%252BI
%252BSS%26itu%3DISS%252BUCI%252BSI%26otn%3D4">
<img src="http://thumbs.ebaystatic.com/pict/280234051028.jpg" ></a>

So far, so uncontroversial.

Alt text for graphs

Here’s a slightly less clear-cut example, but still pretty uncontroversial. You have a graph that shows that Rampant Unicorn Inc has a 97% market share, while Flaccid Faun Inc only has 3%, so it’s easy to write the alt text.

But what should you do if the surrounding article makes it clear in the text? If the graph is a supplementary visual that gives the same information again, I give it null alt text (alt=”") because repeating the market share figures in alt text is unlikely to assist a screenreader user; in fact, it’s likely to irritate them. Why repeat yourself?

Alt text on photos in articles

Here’s a greyer area still. You have a news item on your corporate site about your C.E.O. being knighted by the Queen and include a photo of him beaming proudly. Does the photo add any information to the piece? I believe that it doesn’t so it needs null alt text rather than alt=”Rampant Unicorn CEO, Bruce Lawson, beams proudly”.

We’re in the territory where it’s very difficult to make rules. In the CEO knighthood example, the image is just decoration: eye-candy to break up the slabs of text. It’s easy to imagine a different situation; a news story about some celebrity plastic surgery with a before and after photo would be carrying information in the images and would probably require alt text.

In this situation, the function of the image is related to the visual content. The “before” picture might say “Bruce Lawson, a portly gentlemen with grey hair and a defeated expression, looking every day of his 29 years” while the “after” picture might say “Bruce Lawson, wearing a dayglo pink diamanté dress, a tiara on his blonde beehive hair, his lips enhanced by collagen and painted glossy red, shows his fabulous new 40 DD bustline”.

The function of images on photo sharing sites

We’ve established that alt text is related to the function of the image and that occasionally it’s necessary to describe an image to explain how it supports the surrounding text or fits into its wider context.

But what is the function of a picture on a photo sharing site? There is no narrative context for the pictures - they are posted as visual artefects, complete in and of themselves.

What is the function of a set of pictures of the same event or same person? It’s certainly possible to write alt text for each picture, describing each image and how it differs from the other, similar pictures.

Take a look at my photos of some punk kids on flickr.

That’s a picture of a small boy with mohican hair and dark glasses - and, at a pinch, that could be the rudimentary alt text. But the function of the picture is its visual content, so wouldn’t we need to discuss the freckles, the slightly gawky grin, the chocolate smudge around his mouth?

Here’s a picture taken slightly later, from a slightly different angle, of the same child:

How would the alt text differ here? How would you write alt text for each subtly different shot if you had taken dozens of pictures?

Crucially: even if people had enough time, imagination and motivation to craft individual alt texts for each photo they upload (and no-one has), does it actually help a person with a visual impairment enjoy that photograph (assisting the user is what the spec describes as the purpose of alt text, remember)?

It’s worth looking at a post to the public HTML mailing list by Michael A Squillace, a blind participant:

Responding, here, as a totally blind web content consumer and not as a member of the IBM Human Ability & Accessibility Center, you can put all of the alt tags on flickr that you desire - I’m still not going to visit it because photos are inheritly visual entities. For the dozen or so photos that have received thousands of views (and that, presumably, resemble the news broadcast rather than the private telephone call), 100 or 150 characters of alt text is not going to make the photo any more useful to me. Are we next going to suggest that all of the songs available on the web need closed caption so that deaf folks can enjoy them, too? As someone who is blind, I realized a long time ago that photography, driving, and painting are endeavors in which I am simply not going to engage and I think it detracts from the conversation about the real utility of alt to concentrate on what I see as, indeed, an edge case. Of course, I am only one person and I’m sure that many of my colleagues and fellow PWDs will vehemently disagree with me. (Source: W3C HTML list)

I’m about to get my arse roasted by flames when I publish this, but that’s why I use null alt text for the vast majority of my pictures in galleries.

Or am I evil and wrong?

HTML 5, microformats and testing accessibility

Saturday, May 26th, 2007

It’s unsurprising, I suppose, that if a group of like-minded individuals go into conclave to write a specification, they will be angered and annoyed when that spec is criticised and questioned by outsiders. This is what has happened when the microformats spec and HTML 5 specs came under scrutiny.

Testing shows the gulf between theory and practice

Most microformats adherents seem to agree with an article that James Craig and I wrote, hAccessibility, that pointed out that the current spec’s use of the abbr element is inaccessible to some users. In theory, “Austin, TX” is an abbreviation of “30.300474;-97.747247″. In practice, it doesn’t work (mp3).

It shocks me that when this flawed idea was originally mooted, a trivial test with a forty-minute demo version of JAWS would have shown it was inaccessible, yet no-one thought to do it. As they say, in theory, theory and practice are the same. In practice, they are not..

Creators of new techniques and specs need accessibility at the heart of their specs, and that means testing.

Goodbye headers, hello again <kbd> and <samp>

A similar problem is happening with the HTML 5 group. Like many people, I haven’t paid much attention to the WHATWG until now, because it was “a loose, unofficial, and open collaboration of Web browser manufacturers and interested parties” with an “invite-only steering committee”. It all seemed highly pie-in-the-sky, and there were other, more immediate tasks at hand, like evangelising accesibility in existing technologies like HTML, or emerging technologies like microformats.

Now that the WHATWG spec is to be the basis of HTML5, a lot more scrutiny is directed at the spec.

The HTML5 spec ruled nothing in and nothing out. The criteria for retaining an element or attribute is that of usefulness. I personally question whether the computer-science kbd, var and samp elements should go in there (really, when was the last time you used these on a client’s business site?), but that’s not the reason for my rant.

As Roger Johansson recently noted, the HTML5 spec drops two useful attributes from data tables - the headers and summary attributes that WCAG recommends.

Lachlan Hunt, who’s heavily involved in HTML5, wrote,

They haven’t been removed. They just have not been added yet due to lack of evidence to support them.

The headers attribute: I’m aware that this one currently has better support in ATs than the scope attribute does, but for most cases it’s redundant.

If the problem is just associating cells with their headers, we should investigate alternatives that would make it easier, such as defining an algorithm for more accurate implicit association.

That would be better because it increases accessibility, while reducing the requirements on authors. However, that needs research and evidence to determine if it can cover sufficient use cases reliably, which will allow us to figure out if headers is still required.

Now, in my opinion, one of the reasons that screenreaders are the Netscape 4 of the assistive technology world is precisely because they try to use heuristics to figure things out, rather than use the specified standards. If, for example, everyone had used the (now-deprecated) menu element for navigation, assistive technologies wouldn’t need to try to guess where content starts, and authors wouldn’t need to code the dreaded “skip links”. But that’s another side issue.

The burden of proof

Testing is vital, particularly at the border of accessibility theory and practice. I wonder, for example, if tabindex and accesskey would have made it to the HTML4 spec if there had been full testing with assistive technology users?

What I really want to know from the HTML5 people is who they think is going to do this research that will provide the evidence that their gang requires before useful attributes are restored to the specification.

The WHATWG spec is funded by big business, all of whom have millions in the bank. Maybe now the spec is “official”, they will be funding user research with disabled people using assistive technologies. Perhaps they will invite representatives from the manufacturers of the big screenreaders to work with them. They could even fund those representatives, given that assistive technology vendors aren’t anything like as rich as Apple, Opera, Mozilla and Google.

After all, it’s impossible to imagine that they would make arbitrary decisions to remove or retain certain elements, all with unknown accessibility side-effects, and put the burden to prove the usefulness of removed attributes on a small group of volunteers, isn’t it?


Also see Gez Lemon’s more sober article, The HTML Scope/Headers Debate.