Home > widget-integration > InstantSearchController > announceNavigation
InstantSearchController.announceNavigation() method
Announce keyboard navigation target to screen readers via live region.
Separate from announceResults() to avoid clearing the result-count announcement while navigating. Uses assertive priority so the focused suggestion is announced immediately, not queued behind other messages.
Signature:
protected announceNavigation(text: string): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
text |
string |
The suggestion text to announce |
Returns:
void