# AnnounceOptions

Options for a single announcement.

This is an interface exported by `@mapcairn/map`, checked against version 0.2.0.

## Signature

```ts
import type { AnnounceOptions } from "@mapcairn/map";
 
interface AnnounceOptions
```

## Properties

### keep

```ts
readonly keep?: boolean;
```

Speak this message even when others follow it closely. A message that is
not kept is replaced by a later one that arrives before the throttle
window ends, which suits a stream of updates. Set `keep` on a message that
reports the outcome of something the person did, so a later message does
not replace it. Kept messages wait their turn, one per window, in order.

### priority

```ts
readonly priority?: AnnouncePriority;
```

`polite` waits for the screen reader to finish; `assertive` interrupts. Defaults to `polite`.

## See also

- [`AnnouncePriority`](https://docs.mapcairn.com/api/map/AnnouncePriority.md)

Source: [packages/map/src/ui/LiveRegion/announcer.ts:9](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/ui/LiveRegion/announcer.ts#L9)
