W3C home > Mailing lists > Public > public-canvas-api@w3.org > July to September 2011

Discussion on building custom components

From: Charles Pritchard <chuck@jumis.com>
Date: Fri, 02 Sep 2011 14:08:57 -0700
Message-ID: <4E6145E9.7010205@jumis.com>
To: Canvas <public-canvas-api@w3.org>
There's an interesting discussion on building custom components on the 
webapps mailing list.

Anne van Kesteren refers to Ian Hickson's old post, about staying away 
from "proprietary markup":

In my experience, once you begin scripting, you have a "proprietary" 
situation, anyway.

Dimitri Glazkov responds that, if encapsulated with sufficient 
semantics, custom components can be made more accessible:

In my experience, ARIA serves this purpose quite well.

Alex Russell puts forward an interesting thought: "non-trivial apps have 
*already* given up on HTML"

In my experience, a non-trivial application -should- maintain a full and 
rich HTML DOM. However, that HTML document is likely going to contain 
the manual, and other text-rich content, which is then re-used by the 
application. The application itself would be non-functional without the 
scripting environment, without the bootup sequence: essentially, the 
application is proprietary, unlike HTML documents. It only functions 
within its own construct.

I've found that, including all terminology from the application, with 
usable descriptions, in the DOM, means that ATs such as Google Translate 
can operate with the app. By maintaining elements within the Canvas 
subtree, and using ARIA, client-side ATs can interoperate with the 
application as they would any other native application on the OS. These 
are both hooks into HTML, and hooks into standard markup (ARIA). They're 
beneficial, regardless of ATs, as they ensure better boundaries between 
presentation and markup. Use ARIA and HTML semantics to guide your 
development, use WCAG to guide your project scope and quality.

Received on Friday, 2 September 2011 21:09:26 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:10:32 UTC