Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time. Cannot retrieve contributors at this time
32 lines (26 sloc) 785 Bytes
/**
@module ember
@submodule ember-views
*/
import { Mixin } from "ember-metal/mixin";
/**
@class AriaRoleSupport
@namespace Ember
@private
*/
export default Mixin.create({
attributeBindings: ['ariaRole:role'],
/**
The WAI-ARIA role of the control represented by this view. For example, a
button may have a role of type 'button', or a pane may have a role of
type 'alertdialog'. This property is used by assistive software to help
visually challenged users navigate rich web applications.
The full list of valid WAI-ARIA roles is available at:
[http://www.w3.org/TR/wai-aria/roles#roles_categorization](http://www.w3.org/TR/wai-aria/roles#roles_categorization)
@property ariaRole
@type String
@default null
@public
*/
ariaRole: null
});