accessibility

From Microformats Wiki
(Redirected from Accessibility)
Jump to navigation Jump to search

Accessibility

This page documents microformats and accessibility in general, in particular advantages that adopting microformats provide for accessibility, and for documenting techniques for making microformats more accessible.

We should all strive to make our published microformats, parser implementations, and this wiki, accessible to all users, regardless of their physical abilities and needs, within the limits of the time and resources of the microformats community. Readers are advised to follow the W3C's Web Content Accessibility Guidelines 2.0, to at least Level AA. Further advice is available on the Accessify Forums.

Advantages

Some microformats have potential accessibility advantages.

hCard

  • tel in hCard: use style="speak-numeral:digits", so that telephone numbers are read by aural browsers as, for example, "five-five-five one-two-three-four" and not "five-hundred and fifty-five, one-thousand, two-hundred and thirty-two".
    • Note: This is not an advantage to Microformats. It is a CSS best practice and can be used with or without hCard. This should probably be moved to a CSS Best Practices page. - James Craig
      • It is an advantage of microformats - Andy Mabbett
        • It is not an advantage of microformats; it is just CSS that can be used on any class, whether or not it happens to be tel. There is no documented AT implementation that recognizes Microformats classes automatically. This is just a benefit of CSS, with or without uF. James Craig
          • It is an advantage of microformats; because using "tel" in hCard requites people to mark up telephone numbers semantically, where they otherwise might not. No claim about AT implementations is being made. Andy Mabbett 01:04, 28 Jan 2008 (PST)

Disadvantages

Some microformats have potential accessibility disadvantages.

abbr-design-pattern

  • As mentioned on external sites (see:accessibility-issues) and on the microformats-discuss list, the abbr-design-pattern (used in hCard, hCalendar, GEO and others) is in violation of WCAG1 and WCAG2, and has potentially harmful accessibility side-effects of reading machine data to screen reader users rendering human content inaccessible.
    • Previous misuses of the abbreviation pattern should now use the value-class-pattern instead. The abbreviation pattern remains suitable and correct for human readable expansions.

anchor-include-pattern

  • As mentioned on accessibility-issues, the anchor-include-pattern is in violation of WCAG1 and WCAG2, and has potentially harmful accessibility side effects due to the missing link text.
    • The include pattern now strong advises against using empty anchor elements.

External testimonials

  • hCard and hCalendar Formats - 2006-08-03 in w3c-wai-ig. e.g.

    I think Microformats.org is doing rather well on it's own, and it isn't particularly something that the W3C would or should get involved in until it's settled down. (And then it would just be a ratification kind of thing.)

    ...

    In fact, it is likely to be good for accessibility, as the tools for consuming microformats often require valid code.

Challenges

  • Andy Mabbett - How can we make them accessible to people with (for instance) visual disabilities?

See also