@mocanvas/mocanvas · function

SelectionAnnouncer

declare function SelectionAnnouncer(): null

Runs useSelectedShapesAnnouncer. Draws nothing.

Separate from DefaultA11yAnnouncer — which is the live region, the place announcements land — because the two are independently replaceable: an app that swaps the A11y slot for its own region still wants the editor's selection announcements delivered into it. Before this existed the regions rendered and nothing ever announced into them, so a screen reader heard nothing at all when the selection changed.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.