How do we save longdesc?
The longdesc attribute, although potentially useful, was removed from the HTML5 specification, despite recommendations to retain it from the HTML Accessibility Task Force. The decision to drop longdesc was a lazy response on the part of the HTML5 team: the attribute isn't popular, so let's ditch it. At the same time, the Task Force's attempts to simply reinstate the longdesc attribute won't suddenly make the attribute popular, or ensure it is used as intended. What both parties need to do is remember their obligations. Once they do that, a proper solution will emerge.
The HTML5 team's obligations
The HTML5 team focuses on how HTML is used right now. On that basis, while they recognize the value of longdesc, they perceive it is unpopular and practically never used as intended. But they neglect to ask why this is the case, and how the problems with longdesc can be fixed. They see their responsibility as limited to how HTML is used, instead of how it should be used.
Accessibility expert obligations
The responsibility of accessibility experts/advocates goes beyond reinstating the longdesc attribute into the HTML5 spec. They also need to change user/vendor attitudes toward this attribute, to make sure it fulfills its considerable function. To accomplish this, accessibility experts must look at accessibility from the point of view of the content author and ask why the longdesc attribute is so unpopular right now.
A possible solution
As a lead developer of a WYSIWYG editor and as someone who often interacts with content authors, I believe the longdesc attribute is not used as intended because the longdesc attribute and the related alt attribute are poorly defined in the HTML specification. Consequently, derivative works such as articles, references and tutorials propagate the incorrect use of these features. Influenced by such works, browser and tool vendors then implement these features inconsistently and haphazardly.
Many content authors (incorrectly) understand that the alt attribute contains short descriptions of images, while the longdesc attribute contains longer descriptions. From the author's perspective, this is of course confusing. The author asks: why do I have to write something short, then have to duplicate my efforts by writing something longer? The short/long description explanation simply does not work for content authors.
Instead I suggest we start describing content that appears in the alt attribute as "textual substitute" for an image, and content appearing in the longdesc as a "description" of the image. It's a subtle but meaningful difference that makes a real distinction between these two attributes, instead of it being simply a difference in the number of characters typed. The consequences of such a change would be significant for accessibility and greatly assist authoring tool vendors in creating better interfaces with meaningful labels that will encourage authors to write appropriate content. It's not too late to fulfill the promise of the longdesc attribute. Update articles, HTML references, and tutorials on the distinction between alt and longdesc and how each should be used. Show browser vendors how alt and longdesc should be rendered, and demonstrate to tool vendors the benefits of creating better user interfaces.
Conclusion
Simply reinstating the longdesc attribute into the HTML5 spec will not make the Web more accessible. Instead, it is the duty of the HTML5 team and accessibility experts/advocates to make accessibility features such as longdesc popular with users. One way to accomplish this is to define the alt and longdesc attributes in a way that is meaningful to content authors and easy to implement for browser/tool vendors.
Comments are closed for this article.