On Tue, Aug 9, 2011 at 4:42 AM, James Teh <[email protected]> wrote:
> Why are accName/accDescription insufficient?

The content model of HTML <caption> is "flow" (with no descendant
table elements):

http://www.whatwg.org/specs/web-apps/current-work/multipage/tabular-data.html#the-caption-element

That means it a wide variety of structured markup, including headings,
changes of language marked up with @lang, and links and form controls.
A practical use of this complex content model might be to include
controls for modifying the display of the table or linking to sources
for the table's data.

accName is a string, so any complex content is flattened into text:

http://msdn.microsoft.com/en-us/library/accessibility.iaccessible.accname.aspx

By contrast, the caption property returns an IAccessible or
IAccessible2 object that could have children represents the structure
of the caption.

--
Benjamin Hawkes-Lewis
_______________________________________________
Accessibility-ia2 mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2

Reply via email to