An offer to the HTML5 team to save longdesc
To the dismay of many accessibility experts and advocates, the longdesc attribute has been dropped from the HTML5 spec because this feature is not popular. Despite its lack of use, this feature has the potential to improve Web accessibility if used and used correctly. So in the interest of making the Web more accessible, I would like to make an offer to the HTML5 team to save longdesc.
Why is the longdesc attribute unpopular?
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 improperly and inconsistently.
As an example of this, the following screen shot shows the lackluster support that we at XStandard have given longdesc by allocating to it a text field with a label that few content authors understand how to use. This approach simply does not make sense to content authors, who will not want to write two image descriptions if the only difference between the descriptions is their length. Other tool vendors have presented longdesc in the same way. This approach is clearly inadequate and will do nothing to encourage content authors to use longdesc correctly.

What are the choices available to authoring tool vendors?
1. Do nothing. Leave the longdesc user interface as is - labeled according to past specs/guidelines and consequently meaningless to content authors.
2. Comply with the HTML5 spec and remove the longdesc from user interfaces.
3. Ignore the spec and build interfaces based on what each vendor thinks the function of longdesc is and how it should be presented.
What is our offer?
You, the HTML5 team, claim to develop features that vendors promise to implement. So here is our pledge, as a tool vendor, to the HTML5 team:
- if you reinstate the
longdesc attribute - if you define the 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 - we at XStandard will build a user interface for
longdesc that will actually encourage content authors to use this feature and use it correctly.
What might this interface look like? It might look as shown in mock screen shots below. Note that the longdesc user interface does not have to be limited to a single line text field. In the first screen shot below, content authors can create / edit a document that the longdesc points to. The authoring tool can interface with back-end systems to read / save the content entered by the author and save the appropriate URL into the longdesc attribute.

Alternatively, the content author can select to manually enter a location (URL) where the longdesc can be found:

Or the content author can select or browse for files that contain the image description in a repository such as the file system or a library managed by a CMS.

In cases where the image description resides within the document being edited, the content author can select the section heading under which the image description is to be found.

The screen shot mockups above are just a few examples of how user interface design can be applied to make the longdesc attribute meaningful, and appealing to content authors.
Will you join us?
I am calling on other authoring tool vendors to join us in pledging to make the necessary effort required to extract the obvious potential of longdesc, to make it meaningful to content authors, and easy to use. So let's hear from Dreamweaver, Expression Web, KompoZer, CKEditor, TinyMCE, and all the rest.
I also call upon accessibility experts and advocates not to take the dropping of longdesc lying down, but to pledge that, if the HTML5 team will reinstate and fix the definitions of alt and longdesc in the spec, you will educate, promote and do your best to make sure these features are used as the spec intended.
Conclusion
Through better user interfaces and education, tool vendors and accessibility experts/advocates can together make the longdesc attribute fulfill its potential and make the Web more accessible. The HTML5 team must reinstate the longdesc attribute, define content that appears in the alt attribute as "textual substitute" for an image, and content appearing in longdesc as a "description" of the image. The vendors of XStandard will then build a user interface for longdesc that will actually encourage content authors to use this feature and use it correctly.
To the HTML5 team I say: Let's work together with tool vendors and the accessibility community to make the Web more accessible.
Comments are closed for this article.