1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include
"nsIAccessibleEvent.idl"
9 * Fired when announce() is called on the target accessible.
11 [scriptable
, builtinclass
, uuid(8818e49c
-1286-4fe6
-ae82
-4d1b795ec88d
)]
12 interface nsIAccessibleAnnouncementEvent
: nsIAccessibleEvent
14 const unsigned short POLITE
= 0;
15 const unsigned short ASSERTIVE
= 1;
17 // String of actual announcement
18 readonly attribute AString announcement
;
20 // Priority for announcement, could be POLITE or ASSERTIVE, ATs
21 // will decide how to appropriately present it.
22 readonly attribute
unsigned short priority
;