Class that allows messages to be spoken by assistive technologies that the user may have active.
extends goog.Disposable| Instance Method Summary | |
disposeInternal()Deletes or nulls out any references to COM objects, DOM nodes, or other disposable objects. Classes that extend {@code goog.Disposable} should override this method. Not reentrant. To avoid calling it twice, it must only be called from the subclass' {@code disposeInternal} method. Everywhere else the public {@code dispose} method must be used. For example:
mypackage.MyClass = function() {
goog.base(this);
// Constructor logic specific to MyClass.
...
};
goog.inherits(mypackage.MyClass, goog.Disposable);
mypackage.MyClass.prototype.disposeInternal = function() {
goog.base(this, 'disposeInternal');
// Dispose logic specific to MyClass.
...
};
| |
getLiveRegion_(?goog.dom.a11y.LivePriority priority) ⇒ ?ElementReturns an aria-live region that can be used to communicate announcements. | |
say(string message, ?goog.dom.a11y.LivePriority= opt_priority)Announce a message to be read by any assistive technologies the user may have active. | |