Skip to content

[Feature]: useAnnounce - Support configurable announcement delay #35979

@spenoff

Description

@spenoff

Area

React Components (@fluentui/react-components)

Describe the feature that you would like added

The v8 Announced component rendered a visually-hidden

with aria-live, and consumers could implement their own delay logic before updating the message prop. The v9 useAnnounce hook fires the announcement immediately when announce() is called, with no built-in way to debounce or delay.

Use case: Delays are important for:

  • Debouncing rapid state changes (e.g., typing in a search box with live results)
  • Ensuring visual UI has updated before the announcement fires
  • Preventing announcement interruptions during animations/transitions

Proposed solution: Add an optional delay parameter (in ms) to the useAnnounce hook or announce() function.

Additional context

No response

Have you discussed this feature with our team

No response

Validations

  • Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.

Priority

Medium

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions