-
Notifications
You must be signed in to change notification settings - Fork 6
Description
http://www.w3.org/TR/wai-aria/roles
Ok, I believe this could be a major selling point for Respect\Template.
Anyone familiar with WAI-ARIA? ARIA roles are tied to HTML elements to specify how UI behaves. For example, one could apply tree roles to a simple set of DIVs and browsers and/or screen readers would know how to represent these DIVs as a navigable tree (fixing keyboard navigation, speech and so on).
We currently have plans to inject data structures to HTML elements by their semantics. For example, a multi-dimensional array could map to table rows and cells. By using ARIA roles in HTML, we could expand these semantics in a standardized way.
One could think of ARIA roles in Respect\Template as view helpers. W3C approved.
Please @augustohp tell me your thoughts on this.