Confirmed users
1,396
edits
(→Proto) |
|||
Line 1,683: | Line 1,683: | ||
In case if interactions cannot be provided then the accessible source have to implement <code>activate</code> method to invoke actions. | In case if interactions cannot be provided then the accessible source have to implement <code>activate</code> method to invoke actions. | ||
==== | ====Inheritance==== | ||
<code> | <code> | ||
AccessibleSource .'' | AccessibleSource .''element'' | ||
:: | ::Refers to the accessible element implementation as there were no accessible source attached to it. Set by the browser when the accessible source is attached to the accessible element. | ||
</code> | </code> | ||
Line 1,696: | Line 1,696: | ||
var source = { | var source = { | ||
get relations() { | get relations() { | ||
var r = this. | var r = this.element.relations; | ||
r.add("labelledby", document.querySelector(this.selector); | r.add("labelledby", document.querySelector(this.selector)); | ||
return r; | return r; | ||
}, | }, | ||
element: null, | |||
selector: "" | selector: "" | ||
}; | }; |