# announceCatalogueChange

One message for one change to the catalogue, in a fixed order: the layers
that were turned off, the layers of the link that are not available, how
many definitions could not be shown, what a refresh added and removed, and
that the first list is empty. Null when none of them applies. A transition
is one message, so the live region speaks the whole change in one go.

This is a function exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import { announceCatalogueChange } from "@mapcairn/core";
 
function announceCatalogueChange(change: CatalogueChange): Message | null;
```

## Parameters

- `change` (`CatalogueChange`)

## Returns

`Message | null`

## See also

- [`CatalogueChange`](https://docs.mapcairn.com/api/core/CatalogueChange.md)
- [`Message`](https://docs.mapcairn.com/api/core/Message-typealias.md)

Source: [packages/core/src/announce/announce.ts:280](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/announce/announce.ts#L280)
