Skip to content

ARIA roles #16

@alganet

Description

@alganet

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions