2016-08-23 21:15:15 +03:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*/
|
|
|
|
|
|
|
|
[Pref="accessibility.AOM.enabled"]
|
|
|
|
interface AccessibleNode {
|
|
|
|
readonly attribute DOMString role;
|
2016-12-14 01:36:19 +03:00
|
|
|
[Frozen, Cached, Pure]
|
|
|
|
readonly attribute sequence<DOMString> states;
|
2016-08-23 21:15:15 +03:00
|
|
|
readonly attribute Node? DOMNode;
|
2016-12-15 22:37:27 +03:00
|
|
|
|
|
|
|
boolean is(DOMString... states);
|
2016-12-21 21:04:49 +03:00
|
|
|
[Throws]
|
|
|
|
any get(DOMString attribute);
|
2016-08-23 21:15:15 +03:00
|
|
|
};
|