Martin Atkins (mart) wrote in apparentlymart,
Martin Atkins
mart
apparentlymart

Accessibility Requirements in HTML5

There is an ongoing debate within the W3C's HTML working group about what should be done about alternative text on images. As far as I can tell, one side of this argument is that the W3C's accessibility team has found that including alternative text for purely visual content is important for accessibility, while the other side of the argument is that it is not always possible or realistic to provide alternative text for a given element.

I'm sure this isn't a popular opinion, but including this sort of thing in the HTML specification seems like both a layering violation and a duplication of effort. The W3C's accessibility specifications already describe in detail the requirements for creating an accessible document, so why should parts of this be duplicated in HTML? The HTML specification is about the wire-syntax of the language and the meaning of the elements; the WAI family of specifications describe how to use HTML (and other web technologies) as a tool to produce accessible documents. I don't see that there's any problem with a particular HTML document being correct as per HTML but not correct as per WCAG. That is, documents don't necessarily have to fail both if they fail one; obviously in an ideal world all authors should aspire to pass both.

The HTML specification needs to provide authors with a way to comply with the accessibility specifications, but it does not need to enforce compliance with them. By providing the alt attribute and saying that it is for the alternative text, HTML provides authors with a means to produce documents that are compliant with WCAG 1.0 Core Techniques section 2 and WCAG 1.0 HTML Techniques section 7.1. Having HTML duplicate the requirements of the latter seems to me to be like including advice from The Elements Of Style to help authors with their writing. A single, comprehensive document about all aspects of writing web pages good is likely to be impossible; is it not better to let the experts in each aspect of this process write their own, smaller document?

Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 2 comments