[Bug 22220] @role attribute, and ARIA global content attributes should be reflected DOM attributes.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22220

--- Comment #6 from James Craig <jcraig@apple.com> ---
New API. For example:

// role DOM attr reflects the role content attr.

var el = document.createElement('div');
el.setAttribute('role', 'group');
el.role
> 'group'
el.role = 'main'
el.getAttribute('role');
> 'main'
el.role = 'banner'
e.outerHTML
> '<div role="banner"></div>'

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.

Received on Wednesday, 5 June 2013 17:40:36 UTC