Skip to content

docs: add priority option to announceForAccessibilityWithOptions (fixes #5258) - #5276

Merged
Simek merged 1 commit into
react:mainfrom
supunyasanthaofficial:fix/accessibility-announce-priority
Oct 12, 2026
Merged

Simek merged 1 commit into
react:mainfrom
supunyasanthaofficial:fix/accessibility-announce-priority

Conversation

@supunyasanthaofficial

Copy link
Copy Markdown
Contributor

Summary

Fixes #5258.

Documents the priority option added to AccessibilityInfo.announceForAccessibilityWithOptions in React Native 0.84 for iOS.

Changes

  • Updated the TypeScript signature in docs/accessibilityinfo.md to include priority?: 'low' | 'default' | 'high'.
  • Added descriptions for the three priority values and noted that the option is iOS-specific.
  • Applied the same documentation updates to the versioned docs from 0.84 through 0.87.

Test Plan

  • Checked formatting with Prettier.
  • Ran ESLint on the modified files.
  • Verified the Docusaurus build.

@Simek Simek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified the changes on the PR preview:

LGTM! 🚀

@Simek
Simek merged commit 2ef538b into react:main Oct 12, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation for 'priority' in announceForAccessibilityWithOptions missing

2 participants