ARIA mapping of intent

This issue just came up for me: how do we let an AT know ahead of time about an Intent which would be triggered by a button? This came up while talking to Benjamin about event forwarding from buttons to file input fields.

Here's our modern day forwarding, with a non-standard role extension.

<span role="file button" onclick=file.click() />
<input id=file id=file hidden />


That "file" role is not standard. Currently, an AT will just remark that it's a button (though it may read the role out).

So, in the long term, everything is really an intent. How do we let ATs know that a button is going to trigger a file picker box when clicked on? Do we need an intent="mime/mask" attribute added to the top level of ARIA?

-Charles

Received on Wednesday, 1 February 2012 01:25:59 UTC