LiveRegionProvider
Mounts the one app-wide announcer: a visually hidden polite status region
and a visually hidden assertive alert region. Nothing else in the app may
create a live region except StatusMessage, which is a visible message.
This is a function exported by @mapcairn/map, checked against version 0.2.0.
Signature
import { LiveRegionProvider } from "@mapcairn/map";
function LiveRegionProvider(input: LiveRegionProviderProps): JSX.Element;
Parameters
{ children }input(LiveRegionProviderProps)
Returns
JSX.Element
Remarks
Mount it once, near the root. A second provider logs a warning in development, because two announcers would read the same message twice.