fluentui
fluentui copied to clipboard
[Feature]: useAnnounce - Support aria-live="off" value
Area
React Components (@fluentui/react-components)
Describe the feature that you would like added
The v9 useAnnounce hook does not support setting aria-live to "off". In v8, the Announced component supported this value, which is essential for:
- Temporarily disabling announcements during batch updates
- Preventing announcement storms when multiple state changes occur rapidly
- Conditional announcement behavior based on user preferences or context Current workaround: account.microsoft.com (AMC) must conditionally skip calling useAnnounce entirely when aria-live should be "off", which creates different code paths and is error-prone.
Additional context
Was supported by the V8 Announced component
Have you discussed this feature with our team
No response
Validations
- [x] Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.
Priority
Medium
v9 models politeness as a boolean (polite: true/false), not a 3-value enum. The equivalent of aria-live="off" is not calling announce() at all — a single conditional at the call site. Closing as By Design.