This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 27087 - Language about AT accessing the DOM directly should be deprecated
Summary: Language about AT accessing the DOM directly should be deprecated
Status: RESOLVED INVALID
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML a11y APIs (editor: Steve Faulkner, Cynthia Shelly) (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: steve faulkner
QA Contact: HTML a11y API spec bugbot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-16 15:55 UTC by Dominic Mazzoni
Modified: 2016-04-11 20:47 UTC (History)
7 users (show)

See Also:


Attachments

Description Dominic Mazzoni 2014-10-16 15:55:47 UTC
The spec reads: "For traditional static Web pages, assistive technologies, such as screen readers, interact with user agents using the DOM. For UI elements that are known to be interactive, such as HTML form elements and desktop applications, assistive technologies may use platform accessibility APIs."

This language is out of date and should be deprecated.

As is clear from other bugs, simply reading the DOM is not sufficient, even for a static web page with no interactive content. That misses out on CSS generated content, and other rendering changes affected by CSS, for example.

The spec should mandate that user agents provide full access to an accessibility tree that contains an accessible representation of all content actually displayed and rendered.
Comment 1 Joanmarie Diggs 2014-10-16 16:41:32 UTC
FWIW, for ATK/AT-SPI2-based assistive technologies, all access is provided through the platform's accessibility APIs. Even for static web pages with no CSS whatsoever. The DOM is never used.
Comment 2 alexander surkov 2014-10-16 16:56:38 UTC
I wouldn't restrict the assistive technologies developer in ways to operate the web content. I'm aware of at least one recent project preferring to work with DOM over high level a11y API. I'd say if they want to go their own way then we shouldn't make them out of law.

On the another hand we don't have cross browser web accessibility API so any a11y web app (like ChromeVox?) has to deal with DOM this or that way.

I agree the spec wording should be updated but direct DOM access shouldn't be deprecated or denied (we may state though it's not recommended).
Comment 3 LĂ©onie Watson 2016-04-11 20:47:40 UTC
Cannot locate the passage in question in the current HTML5.1 spec. Suspect this bug has been superceded by time.

If this is incorrect, please file an issue against the 5.1 spec:
http://github.com/w3c/html/issues/