1<!doctype html><html lang=en dir=ltr class="docs-wrapper plugin-docs plugin-id-default docs-version-0.87 docs-doc-page docs-doc-id-accessibilityinfo" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.2"><title data-rh=true>AccessibilityInfo · React Native</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true property=og:url content=https://reactnative.dev/docs/accessibilityinfo /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true property=og:image content=https://reactnative.dev/img/logo-share.png /><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true name=twitter:image content=https://reactnative.dev/img/logo-share.png /><meta data-rh=true name=twitter:site content=@reactnative /><meta data-rh=true name=mobile-web-app-capable content=yes /><meta data-rh=true name=docusaurus_version content=0.87 /><meta data-rh=true name=docusaurus_tag content=docs-default-0.87 /><meta data-rh=true name=docsearch:version content=0.87 /><meta data-rh=true name=docsearch:docusaurus_tag content=docs-default-0.87 /><meta data-rh=true property=og:title content="AccessibilityInfo · React Native"/><meta data-rh=true name=description content="Sometimes it's useful to know whether or not the device has a screen reader that is currently active. The AccessibilityInfo API is designed for this purpose. You can use it to query the current state of the screen reader as well as to register to be notified when the state of the screen reader changes."/><meta data-rh=true property=og:description content="Sometimes it's useful to know whether or not the device has a screen reader that is currently active. The AccessibilityInfo API is designed for this purpose. You can use it to query the current state of the screen reader as well as to register to be notified when the state of the screen reader changes."/><link data-rh=true rel=icon href=/favicon.ico /><link data-rh=true rel=canonical href=https://reactnative.dev/docs/accessibilityinfo /><link data-rh=true rel=alternate href=https://reactnative.dev/docs/accessibilityinfo hreflang=en /><link data-rh=true rel=alternate href=https://reactnative.dev/docs/accessibilityinfo hreflang=x-default /><link data-rh=true rel=preconnect href=https://8TDSE0OHGQ-dsn.algolia.net crossorigin=anonymous /><link rel=alternate type=application/rss+xml href=/blog/rss.xml title="React Native RSS Feed"><link rel=alternate type=application/atom+xml href=/blog/atom.xml title="React Native Atom Feed"><link rel=alternate type=application/json href=/blog/feed.json title="React Native JSON Feed"><link rel=preconnect href=https://www.google-analytics.com><link rel=preconnect href=https://www.googletagmanager.com>
vendor: 63 bytes, line 1
1<script async src="https://www.googletagmanager.com/gtag/js?id=
1G-58L13S6BDP
vendor: 11 bytes, line 1
1"></script>
1<script>function gtag(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],gtag("js",new Date),gtag("config","G-58L13S6BDP",{})</script>
1<link rel=search type=application/opensearchdescription+xml title="React Native" href=/opensearch.xml><link rel=icon href=/img/pwa/manifest-icon-512.png><link rel=manifest href=/manifest.json><meta name=theme-color content=#20232a><meta name=mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=#20232a><link rel=apple-touch-icon href=/img/pwa/manifest-icon-512.png><link rel=mask-icon href=/img/pwa/manifest-icon-512.png color=#06bcee><meta name=msapplication-TileImage href=/img/pwa/manifest-icon-512.png><meta name=msapplication-TileColor content=#20232a>
1<script type=application/ld+json>{"@context":"https://schema.org/","@id":"https://reactnative.dev/","@type":"WebPage","description":"A framework for building native apps for Android, iOS, and more using React","inLanguage":"en-US","logo":"https://reactnative.dev/img/pwa/manifest-icon-192.png","name":"React Native · Learn once, write anywhere","url":"https://reactnative.dev/"}</script>
1<script type=application/ld+json>{"@id":"https://reactnative.dev/","@type":"WebSite","description":"A framework for building native apps for Android, iOS, and more using React","inLanguage":"en-US","name":"React Native · Learn once, write anywhere","potentialAction":[{"@type":"SearchAction","query-input":{"@type":"PropertyValueSpecification","valueName":"query","valueRequired":true},"target":{"@type":"EntryPoint","urlTemplate":"https://reactnative.dev/search?q={query}"}}],"publisher":"Meta Platforms, Inc.","url":"https://reactnative.dev/"}</script>
1<link rel=apple-touch-icon href=/img/pwa/apple-icon-180.png>
1<script src=https://cdn.jsdelivr.net/npm/[email protected]/dist/focus-visible.min.js defer></script>
1<script src=https://widget.surveymonkey.com/collect/website/js/tRaiETqnLgj758hTBazgd8ryO5qrZo8Exadq9qmt1wtm4_2FdZGEAKHDFEt_2BBlwwM4.js defer></script>
1<script src=https://snack.expo.dev/embed.js defer></script>
1<script src=https://platform.twitter.com/widgets.js async></script>
1<link rel=stylesheet href=/assets/css/styles.e5e949b8.css />
1<script src=/assets/js/runtime~main.0204c09c.js defer></script>
1<script src=/assets/js/main.7cd130c5.js defer></script>
1</head><body><svg style="display: none;"><defs> 2<symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol> 3</defs></svg>
4<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-252")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script>
4<div id=__docusaurus><link rel=preload as=image href=/img/header_logo.svg /><link rel=preload as=image href=/img/oss_logo.svg /><div role=region aria-label="Skip to main content"><a class=skipToContent_oPtH href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top navbar--dark"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><div class=navbar__logo><img src=/img/header_logo.svg alt="" class="themedComponent_siVc themedComponent--light_hHel"/><img src=/img/header_logo.svg alt="" class="themedComponent_siVc themedComponent--dark_yETr"/></div><b class="navbar__title text--truncate">React Native</b></a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><div class="navbar__item dropdown dropdown--hoverable dropdown--right"><a href=# aria-haspopup=true aria-expanded=false role=button class=navbar__link>Docs</a><ul class=dropdown__menu><li><a class=dropdown__link href=/docs/getting-started>Guides</a><li><a class=dropdown__link href=/docs/components-and-apis>Components</a><li><a aria-current=page class="dropdown__link dropdown__link--active" href=/docs/accessibilityinfo>APIs</a><li><a class=dropdown__link href=/architecture/overview>Architecture</a></ul></div><a class="navbar__item navbar__link" href=/releases/overview>Releases</a><a class="navbar__item navbar__link" href=/contributing/overview>Contributing</a><a class="navbar__item navbar__link" href=/community/overview>Community</a><a class="navbar__item navbar__link" href=/showcase>Showcase</a><a class="navbar__item navbar__link" href=/blog>Blog</a><a href=https://github.com/facebook/react-native target=_blank rel="noopener noreferrer" class="navbar__item navbar__link navbar-github-link" aria-label="GitHub repository"></a><div class="toggle_ki11 colorModeToggle_Hewu"><button class="clean-btn toggleButton_MMFG toggleButtonDisabled_Uw7m darkNavbarColorModeToggle_m8pZ" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_k9hJ lightToggleIcon_lgto"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_k9hJ darkToggleIcon_U96C"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_k9hJ systemToggleIcon_E5c0"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313
41.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_bzqh><button type=button class="DocSearch DocSearch-Button" aria-label="Search (Meta+k)" aria-keyshortcuts=Meta+k><span class=DocSearch-Button-Container><svg width=20 height=20 class=DocSearch-Search-Icon viewBox="0 0 24 24" aria-hidden=true><circle cx=11 cy=11 r=8 stroke=currentColor fill=none stroke-width=1.4 /><path d="m21 21-4.3-4.3" stroke=currentColor fill=none stroke-linecap=round stroke-linejoin=round /></svg><span class=DocSearch-Button-Placeholder>Search</span></span><span class=DocSearch-Button-Keys></span></button></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_MB5r"><nav class=secondaryNav_SRvT aria-label="Documentation sections"><div class=start_vaa2><span class=title_F0Jq>Docs</span><div class="dropdown dropdown--hoverable dropdown_zynh"><button type=button class=dropdownToggle_M9yv aria-haspopup=menu aria-expanded=false>APIs</button><ul class=dropdown__menu><li><a class=dropdown__link href=/docs/getting-started>Guides</a><li><a class=dropdown__link href=/docs/components-and-apis>Components</a><li><a class="dropdown__link dropdown__link--active" href=/docs/accessibilityinfo>APIs</a><li><a class=dropdown__link href=/architecture/overview>Architecture</a></ul></div><div class=versionDropdown_UNcw><div class="navbar__item dropdown dropdown--hoverable"><a class=navbar__link aria-haspopup=true aria-expanded=false role=button href=/docs/accessibilityinfo>0.87</a><ul class=dropdown__menu><li><a class=dropdown__link href=/docs/next/accessibilityinfo>Next</a><li><a aria-current=page class="dropdown__link dropdown__link--active" href=/docs/accessibilityinfo>0.87</a><li><a class=dropdown__link href=/docs/0.86/accessibilityinfo>0.86</a><li><a class=dropdown__link href=/docs/0.85/accessibilityinfo>0.85</a><li><a class=dropdown__link href=/docs/0.84/accessibilityinfo>0.84</a><li><a class=dropdown__link href=/docs/0.83/accessibilityinfo>0.83</a><li><a class=dropdown__link href=/docs/0.82/accessibilityinfo>0.82</a><li><a class=dropdown__link href=/docs/0.81/accessibilityinfo>0.81</a><li><a class=dropdown__link href=/docs/0.80/accessibilityinfo>0.80</a><li><a class=dropdown__link href=/docs/0.79/accessibilityinfo>0.79</a><li><a class=dropdown__link href=/docs/0.78/accessibilityinfo>0.78</a><li><a class=dropdown__link href=/docs/0.77/accessibilityinfo>0.77</a><li><a class=dropdown__link href=/versions>All versions</a></ul></div></div></div><div class=end_ovPV><div class="copyPageContainer_dlaC copyPageContainer_Uc4J" data-copy-page-button-container=""><button class="copyPageButton_aN_L copyPageButton_1BVG" aria-expanded=false aria-haspopup=true data-copy-page-button-trigger=""><svg width=16 height=16 viewBox="0 0 24 24" fill=none stroke=currentColor stroke-width=2><rect x=9 y=9 width=13 height=13 rx=2 ry=2 /><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg><span class=copyPageText_y3YB>Copy page</span><svg width=12 height=12 viewBox="0 0 24 24" fill=none stroke=currentColor stroke-width=2 class=chevron_LtgL><polyline points="6,9 12,15 18,9"/></svg></button></div></div><div class=secondaryNavDivider_pMxK></div></nav><div class=docsWrapper__sE8><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_iEvu" type=button></button><div class=docRoot_DfVB>
4<aside class="theme-doc-sidebar-container docSidebarContainer_c7NB"><div class=sidebarViewport_KYo0><div class=sidebar_CUen><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_jmj1"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_ROYx menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" role=button aria-expanded=true href=/docs/accessibilityinfo><span class=categoryLinkLabel_ufhF>APIs</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current=page tabindex=0 href=/docs/accessibilityinfo><span class=linkLabel_fEdy>AccessibilityInfo</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/alert><span class=linkLabel_fEdy>Alert</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/animated><span class=linkLabel_fEdy>Animated</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/animatedvalue><span class=linkLabel_fEdy>Animated.Value</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/animatedvaluexy><span class=linkLabel_fEdy>Animated.ValueXY</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/appearance><span class=linkLabel_fEdy>Appearance</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/appregistry><span class=linkLabel_fEdy>AppRegistry</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/appstate><span class=linkLabel_fEdy>AppState</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/devsettings><span class=linkLabel_fEdy>DevSettings</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/dimensions><span class=linkLabel_fEdy>Dimensions</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/easing><span class=linkLabel_fEdy>Easing</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/i18nmanager><span class=linkLabel_fEdy>I18nManager</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/keyboard><span class=linkLabel_fEdy>Keyboard</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/layoutanimation><span class=linkLabel_fEdy>LayoutAnimation</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/linking><span class=linkLabel_fEdy>Linking</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/panresponder><span class=linkLabel_fEdy>PanResponder</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/pixelratio><span class=linkLabel_fEdy>PixelRatio</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/platform><span class=linkLabel_fEdy>Platform</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/platformcolor><span class=linkLabel_fEdy>PlatformColor</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/reactnativeversion>
4<span class=linkLabel_fEdy>ReactNativeVersion</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/roottag><span class=linkLabel_fEdy>RootTag</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/share><span class=linkLabel_fEdy>Share</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/stylesheet><span class=linkLabel_fEdy>StyleSheet</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/systrace><span class=linkLabel_fEdy>Systrace</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/transforms><span class=linkLabel_fEdy>Transforms</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class=menu__link tabindex=0 href=/docs/vibration><span class=linkLabel_fEdy>Vibration</span></a><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class=menu__list-item-collapsible><a class="categoryLink_ROYx menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=false tabindex=0 href=/docs/global-__DEV__><span class=categoryLinkLabel_ufhF>Globals</span></a></div><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_ROYx menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true tabindex=0 href=/docs/usecolorscheme><span class=categoryLinkLabel_ufhF>Hooks</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class=menu__link tabindex=0 href=/docs/usecolorscheme><span class=linkLabel_fEdy>useColorScheme</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class=menu__link tabindex=0 href=/docs/usewindowdimensions><span class=linkLabel_fEdy>useWindowDimensions</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_ROYx menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true tabindex=0 href=/docs/backhandler><span class=categoryLinkLabel_ufhF>Android APIs</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class=menu__link tabindex=0 href=/docs/backhandler><span class=linkLabel_fEdy>BackHandler</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class=menu__link tabindex=0 href=/docs/permissionsandroid><span class=linkLabel_fEdy>PermissionsAndroid</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class=menu__link tabindex=0 href=/docs/toastandroid><span class=linkLabel_fEdy>ToastAndroid</span></a></ul><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item"><div class=menu__list-item-collapsible><a class="categoryLink_ROYx menu__link menu__link--sublist menu__link--sublist-caret" role=button aria-expanded=true tabindex=0 href=/docs/actionsheetios><span class=categoryLinkLabel_ufhF>iOS APIs</span></a></div><ul class=menu__list><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class=menu__link tabindex=0 href=/docs/actionsheetios><span class=linkLabel_fEdy>ActionSheetIOS</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class=menu__link tabindex=0 href=/docs/dynamiccolorios><span class=linkLabel_fEdy>DynamicColorIOS</span></a><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-3 menu__list-item"><a class=menu__link tabindex=0 href=/docs/settings><span class=linkLabel_fEdy>Settings</span></a></ul></ul></ul></nav></div></div></aside><main class=docMainContainer_a9sJ><div class="container padding-top--md padding-bottom--lg"><div class=row><div class="col docItemCol_z5aJ">
4<div class=docItemContainer_c0TR><article><div class="tocCollapsible_wXna theme-doc-toc-mobile tocMobile_Ojys"><button type=button class="clean-btn tocCollapsibleButton_iI2p">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>AccessibilityInfo</h1></header><p>Sometimes it's useful to know whether or not the device has a screen reader that is currently active. The <code>AccessibilityInfo</code> API is designed for this purpose. You can use it to query the current state of the screen reader as well as to register to be notified when the state of the screen reader changes.</p> 5<h2 class="anchor anchorTargetStickyNavbar_tleR" id=example>Example<a href=#example class=hash-link aria-label="Direct link to Example" title="Direct link to Example" translate=no>â</a></h2> 6<div class=snack-player data-snack-name="AccessibilityInfo Example" data-snack-description="Example usage" data-snack-files="%7B%22App.tsx%22%3A%7B%22type%22%3A%22CODE%22%2C%22contents%22%3A%22import%20%7BuseState%2C%20useEffect%7D%20from%20'react'%3B%5Cnimport%20%7BAccessibilityInfo%2C%20Text%2C%20StyleSheet%7D%20from%20'react-native'%3B%5Cnimport%20%7BSafeAreaView%2C%20SafeAreaProvider%7D%20from%20'react-native-safe-area-context'%3B%5Cn%5Cnconst%20App%20%3D%20()%20%3D%3E%20%7B%5Cn%20%20const%20%5BreduceMotionEnabled%2C%20setReduceMotionEnabled%5D%20%3D%20useState(false)%3B%5Cn%20%20const%20%5BscreenReaderEnabled%2C%20setScreenReaderEnabled%5D%20%3D%20useState(false)%3B%5Cn%5Cn%20%20useEffect(()%20%3D%3E%20%7B%5Cn%20%20%20%20const%20reduceMotionChangedSubscription%20%3D%20AccessibilityInfo.addEventListener(%5Cn%20%20%20%20%20%20'reduceMotionChanged'%2C%5Cn%20%20%20%20%20%20isReduceMotionEnabled%20%3D%3E%20%7B%5Cn%20%20%20%20%20%20%20%20setReduceMotionEnabled(isReduceMotionEnabled)%3B%5Cn%20%20%20%20%20%20%7D%2C%5Cn%20%20%20%20)%3B%5Cn%20%20%20%20const%20screenReaderChangedSubscription%20%3D%20AccessibilityInfo.addEventListener(%5Cn%20%20%20%20%20%20'screenReaderChanged'%2C%5Cn%20%20%20%20%20%20isScreenReaderEnabled%20%3D%3E%20%7B%5Cn%20%20%20%20%20%20%20%20setScreenReaderEnabled(isScreenReaderEnabled)%3B%5Cn%20%20%20%20%20%20%7D%2C%5Cn%20%20%20%20)%3B%5Cn%5Cn%20%20%20%20AccessibilityInfo.isReduceMotionEnabled().then(isReduceMotionEnabled%20%3D%3E%20%7B%5Cn%20%20%20%20%20%20setReduceMotionEnabled(isReduceMotionEnabled)%3B%5Cn%20%20%20%20%7D)%3B%5Cn%20%20%20%20AccessibilityInfo.isScreenReaderEnabled().then(isScreenReaderEnabled%20%3D%3E%20%7B%5Cn%20%20%20%20%20%20setScreenReaderEnabled(isScreenReaderEnabled)%3B%5Cn%20%20%20%20%7D)%3B%5Cn%5Cn%20%20%20%20return%20()%20%3D%3E%20%7B%5Cn%20%20%20%20%20%20reduceMotionChangedSubscription.remove()%3B%5Cn%20%20%20%20%20%20screenReaderChangedSubscription.remove()%3B%5Cn%20%20%20%20%7D%3B%5Cn%20%20%7D%2C%20%5B%5D)%3B%5Cn%5Cn%20%20return%20(%5Cn%20%20%20%20%3CSafeAreaProvider%3E%5Cn%20%20%20%20%20%20%3CSafeAreaView%20style%3D%7Bstyles.container%7D%3E%5Cn%20%20%20%20%20%20%20%20%3CText%20style%3D%7Bstyles.status%7D%3E%5Cn%20%20%20%20%20%20%20%20%20%20The%20reduce%20motion%20is%20%7BreduceMotionEnabled%20%3F%20'enabled'%20%3A%20'disabled'%7D.%5Cn%20%20%20%20%20%20%20%20%3C%2FText%3E%5Cn%20%20%20%20%20%20%20%20%3CText%20style%3D%7Bstyles.status%7D%3E%5Cn%20%20%20%20%20%20%20%20%20%20The%20screen%20reader%20is%20%7BscreenReaderEnabled%20%3F%20'enabled'%20%3A%20'disabled'%7D.%5Cn%20%20%20%20%20%20%20%20%3C%2FText%3E%5Cn%20%20%20%20%20%20%3C%2FSafeAreaView%3E%5Cn%20%20%20%20%3C%2FSafeAreaProvider%3E%5Cn%20%20)%3B%5Cn%7D%3B%5Cn%5Cnconst%20styles%20%3D%20StyleSheet.create(%7B%5Cn%20%20container%3A%20%7B%5Cn%20%20%20%20flex%3A%201%2C%5Cn%20%20%20%20alignItems%3A%20'center'%2C%5Cn%20%20%20%20justifyContent%3A%20'center'%2C%5Cn%20%20%7D%2C%5Cn%20%20status%3A%20%7B%5Cn%20%20%20%20margin%3A%2030%2C%5Cn%20%20%7D%2C%5Cn%7D)%3B%5Cn%5Cnexport%20default%20App%3B%22%7D%7D" data-snack-dependencies=react-native-safe-area-context data-snack-platform=web data-snack-supported-platforms=android,ios data-snack-theme=light data-snack-preview=true data-snack-loading=lazy data-snack-device-appearance=light data-snack-device-frame=false></div> 7<hr/> 8<h1>
8Reference</h1> 9<h2 class="anchor anchorTargetStickyNavbar_tleR" id=methods>Methods<a href=#methods class=hash-link aria-label="Direct link to Methods" title="Direct link to Methods" translate=no>â</a></h2> 10<h3 class="anchor anchorTargetStickyNavbar_tleR" id=addeventlistener><code>addEventListener()</code><a href=#addeventlistener class=hash-link aria-label="Direct link to addeventlistener" title="Direct link to addeventlistener" translate=no>â</a></h3> 11<div class="language-tsx codeBlockContainer_mQmQ theme-code-block" style=--prism-color:#24292e;--prism-background-color:#f6f8fa><div class=codeBlockTitle_kY6l>React TSX</div><div class=codeBlockContent_t_Hd><pre tabindex=0 class="prism-code language-tsx codeBlock_RMoD thin-scrollbar" style=color:#24292e;background-color:#f6f8fa><code class=codeBlockLines_AclH><div class=token-line style=color:#24292e><span class="token keyword" style=color:#d73a49>static</span><span class="token plain"> </span><span class="token function" style=color:#6f42c1>addEventListener</span><span class="token punctuation" style=color:#24292e>(</span><span class="token plain"></span><br/></div><div class=token-line style=color:#24292e><span class="token plain"> eventName</span><span class="token operator" style=color:#22863a>:</span><span class="token plain"> </span><span class="token maybe-class-name">AccessibilityChangeEventName</span><span class="token plain"> </span><span class="token operator" style=color:#22863a>|</span><span class="token plain"> </span><span class="token maybe-class-name">AccessibilityAnnouncementEventName</span><span class="token punctuation" style=color:#24292e>,</span><span class="token plain"></span><br/></div><div class=token-line style=color:#24292e><span class="token plain"> </span><span class="token function-variable function" style=color:#6f42c1>handler</span><span class="token operator" style=color:#22863a>:</span><span class="token plain"> </span><span class="token punctuation" style=color:#24292e>(</span><span class="token plain"></span><br/></div><div class=token-line style=color:#24292e><span class="token plain"> event</span><span class="token operator" style=color:#22863a>:</span><span class="token plain"> </span><span class="token maybe-class-name">AccessibilityChangeEvent</span><span class="token plain"> </span><span class="token operator" style=color:#22863a>|</span><span class="token plain"> </span><span class="token maybe-class-name">AccessibilityAnnouncementFinishedEvent</span><span class="token punctuation" style=color:#24292e>,</span><span class="token plain"></span><br/></div><div class=token-line style=color:#24292e><span class="token plain"> </span><span class="token punctuation" style=color:#24292e>)</span><span class="token plain"> </span><span class="token arrow operator" style=color:#22863a>=></span><span class="token plain"> </span><span class="token keyword" style=color:#d73a49>void</span><span class="token punctuation" style=color:#24292e>,</span><span class="token plain"></span><br/></div><div class=token-line style=color:#24292e><span class="token plain"></span><span class="token punctuation" style=color:#24292e>)</span><span class="token operator" style=color:#22863a>:</span><span class="token plain"> </span><span class="token maybe-class-name">EmitterSubscription</span><span class="token punctuation" style=color:#24292e>;</span><br/></div></code></pre></div></div> 12<p>Add an event handler. Supported events:</p> 13<div class=table-wrapper><table><thead><tr><th>Event name<th>Description<tbody><tr><td><code>accessibilityServiceChanged</code><br/><div class="label two-lines android">Android</div><td>Fires when some services such as TalkBack, other Android assistive technologies, and third-party accessibility services are enabled. The argument to the event handler is a boolean. The boolean is <code>true</code> when a some accessibility services is enabled and <code>false</code> otherwise.<tr><td><code>announcementFinished</code><br/><div class="label two-lines ios">iOS</div><td>Fires when the screen reader has finished making an announcement. The argument to the event handler is a dictionary with these keys:<ul><li><code>announcement</code>: The string announced by the screen reader.<li><code>success</code>: A boolean indicating whether the announcement was successfully made.</ul><tr><td><code>boldTextChanged</code><br/><div class="label two-lines ios">iOS</div><td>Fires when the state of the bold text toggle changes. The argument to the event handler is a boolean. The boolean is <code>true</code> when bold text is enabled and <code>false</code> otherwise.<tr><td><code>grayscaleChanged</code><br/><div class="label two-lines ios">iOS</div><td>Fires when the state of the gray scale toggle changes. The argument to the event handler is a boolean. The boolean is <code>true</code> when a gray scale is enabled and <code>false</code> otherwise.<tr><td><code>invertColorsChanged</code><br/><div class="label two-lines ios">iOS</div><td>Fires when the state of the invert colors toggle changes. The argument to the event handler is a boolean. The boolean is <code>true</code> when invert colors is enabled and <code>false</code> otherwise.<tr><td><code>reduceMotionChanged</code><td>Fires when the state of the reduce motion toggle changes. The argument to the event handler is a boolean. The boolean is <code>true</code> when a reduce motion is enabled (or when "Transition Animation Scale" in "Developer options" is "Animation off") and <code>false</code> otherwise.<tr><td><code>reduceTransparencyChanged</code><br/><div class="label two-lines ios">iOS</div><td>Fires when the state of the reduce transparency toggle changes. The argument to the event handler is a boolean. The boolean is <code>true</code> when reduce transparency is enabled and <code>false</code> otherwise.<tr><td><code>screenReaderChanged</code><td>Fires when the state of the screen reader changes. The argument to the event handler is a boolean. The boolean is <code>true</code> when a screen reader is enabled and <code>false</code> otherwise.</table></div> 14<hr/> 15<h3 class="anchor anchorTargetStickyNavbar_tleR" id=announceforaccessibility><code>announceForAccessibility()</code><a href=#announceforaccessibility class=hash-link aria-label="Direct link to announceforaccessibility" title="Direct link to announceforaccessibility" translate=no>â</a></h3> 16<div class="language-tsx codeBlockContainer_mQmQ theme-code-block" style=--prism-color:#24292e;--prism-background-color:#f6f8fa><div class=codeBlockTitle_kY6l>React TSX</div><div class=codeBlockContent_t_Hd><pre tabindex=0 class="prism-code language-tsx codeBlock_RMoD thin-scrollbar" style=color:#24292e;background-color:#f6f8fa><code class=codeBlockLines_AclH><div class=token-line style=color:#24292e><span class="token keyword" style=color:#d73a49>static</span><span class="token plain"> </span><span class="token function" style=color:#6f42c1>announceForAccessibility</span><span class="token punctuation" style=color:#24292e>(</span><span class="token plain">announcement</span><span class="token operator" style=color:#22863a>:</span><span class="token plain"> </span><span class="token builtin" style=color:#005cc5>string</span><span class="token punctuation" style=color:#24292e>)</span><span class="token punctuation" style=color:#24292e>;</span><br/></div></code></pre></div></div> 17<p>Post a string to be announced by the screen reader.</p> 18<hr/> 19<h3 class="anchor anchorTargetStickyNavbar_tleR" id=announceforaccessibilitywithoptions><code>announceForAccessibilityWithOptions()</code><a href=#announceforaccessibilitywithoptions class=hash-link aria-label="Direct link to announceforaccessibilitywithoptions" title="Direct link to announceforaccessibilitywithoptions" translate=no>â</a></h3> 20<div class="language-tsx codeBlockContainer_mQmQ theme-code-block" style=--prism-color:#24292e;--prism-background-color:#f6f8fa><div class=codeBlockTitle_kY6l>React TSX</div><div class=codeBlockContent_t_Hd><pre tabindex=0 class="prism-code language-tsx codeBlock_RMoD thin-scrollbar" style=color:#24292e;background-color:#f6f8fa><code class=codeBlockLines_AclH><div class=token-line style=color:#24292e><span class="token keyword" style=color:#d73a49>static</span><span class="token plain"> </span><span class="token function" style=color:#6f42c1>announceForAccessibilityWithOptions</span><span class="token punctuation" style=color:#24292e>(</span><span class="token plain"></span><br/></div><div class=token-line style=color:#24292e><span class="token plain"> announcement</span><span class="token operator" style=color:#22863a>:</span><span class="token plain"> </span><span class="token builtin" style=color:#005cc5>string</span><span class="token punctuation" style=color:#24292e>,</span><span class="token plain"></span><br/></div><div class=token-line style=color:#24292e><span class="token plain"> options</span><span class="token operator" style=color:#22863a>:</span><span class="token plain"> </span><span class="token punctuation" style=color:#24292e>{</span><span class="token plain">queue</span><span class="token operator" style=color:#22863a>
20?</span><span class="token operator" style=color:#22863a>:</span><span class="token plain"> </span><span class="token builtin" style=color:#005cc5>boolean</span><span class="token punctuation" style=color:#24292e>}</span><span class="token punctuation" style=color:#24292e>,</span><span class="token plain"></span><br/></div><div class=token-line style=color:#24292e><span class="token plain"></span><span class="token punctuation" style=color:#24292e>)</span><span class="token punctuation" style=color:#24292e>;</span><br/></div></code></pre></div></div> 21<p>Post a string to be announced by the screen reader with modification options. By default announcements will interrupt any existing speech, but on iOS they can be queued behind existing speech by setting <code>queue</code> to <code>true</code> in the options object.</p> 22<p><strong>Parameters:</strong></p> 23<div class=table-wrapper><table><thead><tr><th>Name<th>Type<th>Description<tbody><tr><td>announcement <div class="label basic required">Required</div><td>string<td>The string to be announced<tr><td>options <div class="label basic required">Required</div><td>object<td><code>queue</code> - queue the announcement behind existing speech <div class="label ios">iOS</div></table></div> 24<hr/> 25<h3 class="anchor anchorTargetStickyNavbar_tleR" id=getrecommendedtimeoutmillis-android><code>getRecommendedTimeoutMillis()</code> <div class="label android">Android</div><a href=#getrecommendedtimeoutmillis-android class=hash-link aria-label="Direct link to getrecommendedtimeoutmillis-android" title="Direct link to getrecommendedtimeoutmillis-android" translate=no>â</a></h3> 26<div class="language-tsx codeBlockContainer_mQmQ theme-code-block" style=--prism-color:#24292e;--prism-background-color:#f6f8fa><div class=codeBlockTitle_kY6l>React TSX</div><div class=codeBlockContent_t_Hd><pre tabindex=0 class="prism-code language-tsx codeBlock_RMoD thin-scrollbar" style=color:#24292e;background-color:#f6f8fa><code class=codeBlockLines_AclH><div class=token-line style=color:#24292e><span class="token keyword" style=color:#d73a49>static</span><span class="token plain"> </span><span class="token function" style=color:#6f42c1>getRecommendedTimeoutMillis</span><span class="token punctuation" style=color:#24292e>(</span><span class="token plain">originalTimeout</span><span class="token operator" style=color:#22863a>:</span><span class="token plain"> </span><span class="token builtin" style=color:#005cc5>number</span><span class="token punctuation" style=color:#24292e>)</span><span class="token operator" style=color:#22863a>:</span><span class="token plain"> </span><span class="token known-class-name class-name" style=color:#6f42c1>Promise</span><span class="token operator" style=color:#22863a><</span><span class="token builtin" style=color:#005cc5>number</span><span class="token operator" style=color:#22863a>></span><span class="token punctuation" style=color:#24292e>;</span><br/></div></code></pre></div></div> 27<p>Gets the timeout in millisecond that the user needs. 28This value is set in "Time to take action (Accessibility timeout)" of "Accessibility" settings.</p> 29<p><strong>Parameters:</strong></p> 30<div class=table-wrapper><table><thead><tr><th>Name<th>Type<th>Description<tbody><tr><td>originalTimeout <div class="label basic required">Required</div><td>number<td>The timeout to return if "Accessibility timeout" is not set. Specify in milliseconds.</table></div> 31<hr/> 32<h3 class="anchor anchorTargetStickyNavbar_tleR" id=isaccessibilityserviceenabled-android><code>isAccessibilityServiceEnabled()</code> <div class="label android">Android</div><a href=#isaccessibilityserviceenabled-android class=hash-link aria-label="Direct link to isaccessibilityserviceenabled-android" title="Direct link to isaccessibilityserviceenabled-android" translate=no>â</a></h3> 33<div class="language-tsx codeBlockContainer_mQmQ theme-code-block" style=--prism-color:#24292e;--prism-background-color:#f6f8fa><div class=codeBlockTitle_kY6l>React TSX</div><div class=codeBlockContent_t_Hd><pre tabindex=0 class="prism-code language-tsx codeBlock_RMoD thin-scrollbar" style=color:#24292e;background-color:#f6f8fa><code class=codeBlockLines_AclH><div class=token-line style=color:#24292e><span class="token keyword" style=color:#d73a49>static</span><span class="token plain"> </span><span class="token function" style=color:#6f42c1>isAccessibilityServiceEnabled</span><span class="token punctuation" style=color:#24292e>(</span><span class="token punctuation" style=color:#24292e>)</span><span class="token operator" style=color:#22863a>:</span><span class="token plain"> </span><span class="token known-class-name class-name" style=color:#6f42c1>Promise</span><span class="token operator" style=color:#22863a><</span><span class="token builtin" style=color:#005cc5>boolean</span><span class="token operator" style=color:#22863a>></span><span class="token punctuation" style=color:#24292e>;</span><br/></div></code></pre></div></div> 34<p>Check whether any accessibility service is enabled. This includes TalkBack but also any third-party accessibility app that may be installed. To only check whether TalkBack is enabled, use <a href=#isscreenreaderenabled class="">isScreenReaderEnabled</a>. Returns a promise which resolves to a boolean. The result is <code>true</code> when some accessibility services is enabled and <code>false</code> otherwise.</p> 35<div class="theme-admonition theme-admonition-note admonition_WCGJ alert alert--secondary"><div class=admonitionHeading_GCBg><span class=admonitionIcon_L39b><svg viewBox="0 0 14 16"><path fill-rule=evenodd d="M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.
3569H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"/></svg></span>note</div><div class=admonitionContent_pbrs><p>Please use <a href=#isscreenreaderenabled class=""><code>isScreenReaderEnabled</code></a> if you only want to check the status of TalkBack.</div></div> 36<hr/> 37<h3 class="anchor anchorTargetStickyNavbar_tleR" id=isboldtextenabled-ios><code>isBoldTextEnabled()</code> <div class="label ios">iOS</div><a href=#isboldtextenabled-ios class=hash-link aria-label="Direct link to isboldtextenabled-ios" title="Direct link to isboldtextenabled-ios" translate=no>â</a></h3> 38<div class="language-tsx codeBlockContainer_mQmQ theme-code-block" style=--prism-color:#24292e;--prism-background-color:#f6f8fa><div class=codeBlockTitle_kY6l>React TSX</div><div class=codeBlockContent_t_Hd><pre tabindex=0 class="prism-code language-tsx codeBlock_RMoD thin-scrollbar" style=color:#24292e;background-color:#f6f8fa><code class=codeBlockLines_AclH><div class=token-line style=color:#24292e><span class="token keyword" style=color:#d73a49>static</span><span class="token plain"> </span><span class="token function" style=color:#6f42c1>isBoldTextEnabled</span><span class="token punctuation" style=color:#24292e>(</span><span class="token punctuation" style=color:#24292e>)</span><span class="token operator" style=color:#22863a>:</span><span class="token plain"> </span><span class="token known-class-name class-name" style=color:#6f42c1>Promise</span><span class="token operator" style=color:#22863a><</span><span class="token builtin" style=color:#005cc5>boolean</span><span class="token operator" style=color:#22863a>></span><span class="token operator" style=color:#22863a>:</span><br/></div></code></pre></div></div> 39<p>Query whether a bold text is currently enabled. Returns a promise which resolves to a boolean. The result is <code>true</code> when bold text is enabled and <code>false</code> otherwise.</p> 40<hr/> 41<h3 class="anchor anchorTargetStickyNavbar_tleR" id=isgrayscaleenabled-ios><code>isGrayscaleEnabled()</code> <div class="label ios">iOS</div><a href=#isgrayscaleenabled-ios class=hash-link aria-label="Direct link to isgrayscaleenabled-ios" title="Direct link to isgrayscaleenabled-ios" translate=no>â</a></h3> 42<div class="language-tsx codeBlockContainer_mQmQ theme-code-block" style=--prism-color:#24292e;--prism-background-color:#f6f8fa><div class=codeBlockTitle_kY6l>React TSX</div><div class=codeBlockContent_t_Hd><pre tabindex=0 class="prism-code language-tsx codeBlock_RMoD thin-scrollbar" style=color:#24292e;background-color:#f6f8fa><code class=codeBlockLines_AclH><div class=token-line style=color:#24292e><span class="token keyword" style=color:#d73a49>static</span><span class="token plain"> </span><span class="token function" style=color:#6f42c1>isGrayscaleEnabled</span><span class="token punctuation" style=color:#24292e>(</span><span class="token punctuation" style=color:#24292e>)</span><span class="token operator" style=color:#22863a>:</span><span class="token plain"> </span><span class="token known-class-name class-name" style=color:#6f42c1>Promise</span><span class="token operator" style=color:#22863a><</span><span class="token builtin" style=color:#005cc5>boolean</span><span class="token operator" style=color:#22863a>></span><span class="token punctuation" style=color:#24292e>;</span><br/></div></code></pre></div></div> 43<p>Query whether grayscale is currently enabled. Returns a promise which resolves to a boolean. The result is <code>true</code> when grayscale is enabled and <code>false</code> otherwise.</p> 44<hr/> 45<h3 class="anchor anchorTargetStickyNavbar_tleR" id=isinvertcolorsenabled-ios><code>isInvertColorsEnabled()</code> <div class="label ios">iOS</div><a href=#isinvertcolorsenabled-ios class=hash-link aria-label="Direct link to isinvertcolorsenabled-ios" title="Direct link to isinvertcolorsenabled-ios" translate=no>â</a></h3> 46<div class="language-tsx codeBlockContainer_mQmQ theme-code-block" style=--prism-color:#24292e;--prism-background-color:#f6f8fa><div class=codeBlockTitle_kY6l>React TSX</div><div class=codeBlockContent_t_Hd><pre tabindex=0 class="prism-code language-tsx codeBlock_RMoD thin-scrollbar" style=color:#24292e;background-color:#f6f8fa><code class=codeBlockLines_AclH><div class=token-line style=color:#24292e><span class="token keyword" style=color:#d73a49>static</span><span class="token plain"> </span><span class="token function" style=color:#6f42c1>isInvertColorsEnabled</span><span class="token punctuation" style=color:#24292e>(</span><span class="token punctuation" style=color:#24292e>)</span><span class="token operator" style=color:#22863a>:</span><span class="token plain"> </span><span class="token known-class-name class-name" style=color:#6f42c1>Promise</span><span class="token operator" style=color:#22863a><</span><span class="token builtin" style=color:#005cc5>boolean</span><span class="token operator" style=color:#22863a>></span><span class="token punctuation" style=color:#24292e>;</span><br/></div></code></pre></div></div> 47<p>Query whether invert colors is currently enabled. Returns a promise which resolves to a boolean. The result is <code>true</code> when invert colors is enabled and <code>false</code> otherwise.</p> 48<hr/> 49<h3 class="anchor anchorTargetStickyNavbar_tleR" id=isreducemotionenabled><code>isReduceMotionEnabled()</code><a href=#isreducemotionenabled class=hash-link aria-label="Direct link to isreducemotionenabled" title="Direct link to isreducemotionenabled" translate=no>â</a></h3> 50<div class="language-tsx codeBlockContainer_mQmQ theme-code-block" style=--prism-color:#24292e;--prism-background-color:#f6f8fa><div class=codeBlockTitle_kY6l>React TSX</div><div class=codeBlockContent_t_Hd><pre tabindex=0 class="prism-code language-tsx codeBlock_RMoD thin-scrollbar" style=color:#24292e;background-color:#f6f8fa><code class=codeBlockLines_AclH><div class=token-line style=color:#24292e><span class="token keyword" style=color:#d73a49>static</span><span class="token plain"> </span><span class="token function" style=color:#6f42c1>isReduceMotionEnabled</span><span class="token punctuation" style=color:#24292e>(</span><span class="token punctuation" style=color:#24292e>)</span><span class="token operator" style=color:#22863a>:</span><span class="token plain"> </span><span class="token known-class-name class-name" style=color:#6f42c1>Promise</span><span class="token operator" style=color:#22863a><</span><span class="token builtin" style=color:#005cc5>boolean</span><span class="token operator" style=color:#22863a>></span><span class="token punctuation" style=color:#24292e>;</span><br/></div></code></pre></div></div> 51<p>Query whether reduce motion is currently enabled. Returns a promise which resolves to a boolean. The result is <code>true</code> when reduce motion is enabled and <code>false</code> otherwise.</p> 52<hr/> 53<h3 class="anchor anchorTargetStickyNavbar_tleR" id=isreducetransparencyenabled-ios><code>isReduceTransparencyEnabled()</code> <div class="label ios">iOS</div><a href=#isreducetransparencyenabled-ios class=hash-link aria-label="Direct link to isreducetransparencyenabled-ios" title="Direct link to isreducetransparencyenabled-ios" translate=no>â</a></h3> 54<div class="language-tsx codeBlockContainer_mQmQ theme-code-block" style=--prism-color:#24292e;--prism-background-color:#f6f8fa><div class=codeBlockTitle_kY6l>React TSX</div><div class=codeBlockContent_t_Hd><pre tabindex=0 class="prism-code language-tsx codeBlock_RMoD thin-scrollbar" style=color:#24292e;background-color:#f6f8fa><code class=codeBlockLines_AclH><div class=token-line style=color:#24292e><span class="token keyword" style=color:#d73a49>static</span><span class="token plain"> </span><span class="token function" style=color:#6f42c1>isReduceTransparencyEnabled</span><span class="token punctuation" style=color:#24292e>(</span><span class="token punctuation" style=color:#24292e>)</span><span class="token operator" style=color:#22863a>:</span><span class="token plain"> </span><span class="token known-class-name class-name" style=color:#6f42c1>Promise</span><span class="token operator" style=color:#22863a><</span><span class="token builtin" style=color:#005cc5>boolean</span><span class="token operator" style=color:#22863a>></span><span class="token punctuation" style=color:#24292e>;</span><br/></div></code></pre></div></div> 55<p>Query whether reduce transparency is currently enabled. Returns a promise which resolves to a boolean. The result is <code>true</code> when a reduce transparency is enabled and <code>false</code> otherwise.</p> 56<hr/> 57<h3 class="anchor anchorTargetStickyNavbar_tleR" id=isscreenreaderenabled><code>isScreenReaderEnabled()</code><a href=#isscreenreaderenabled class=hash-link aria-label="Direct link to isscreenreaderenabled" title="Direct link to isscreenreaderenabled" translate=no>â</a></h3> 58<div class="language-tsx codeBlockContainer_mQmQ theme-code-block" style=--prism-color:#24292e;--prism-background-color:#f6f8fa><div class=codeBlockTitle_kY6l>React TSX</div><div class=codeBlockContent_t_Hd><pre tabindex=0 class="prism-code language-tsx codeBlock_RMoD thin-scrollbar" style=color:#24292e;background-color:#f6f8fa><code class=codeBlockLines_AclH><div class=token-line style=color:#24292e><span class="token keyword" style=color:#d73a49>static</span><span class="token plain"> </span><span class="token function" style=color:#6f42c1>isScreenReaderEnabled</span><span class="token punctuation" style=color:#24292e>(</span><span class="token punctuation" style=color:#24292e>)</span><span class="token operator" style=color:#22863a>:</span><span class="token plain"> </span><span class="token known-class-name class-name" style=color:#6f42c1>Promise</span><span class="token operator" style=color:#22863a><</span><span class="token builtin" style=color:#005cc5>boolean</span><span class="token operator" style=color:#22863a>></span><span class="token punctuation" style=color:#24292e>;</span><br/></div></code></pre></div></div> 59<p>Query whether a screen reader is currently enabled. Returns a promise which resolves to a boolean. The result is <code>true</code> when a screen reader is enabled and <code>false</code> otherwise.</p> 60<hr/> 61<h3 class="anchor anchorTargetStickyNavbar_tleR" id=ishightextcontrastenabled-android><code>isHighTextContrastEnabled()</code> <div class="label android">Android</div><a href=#ishightextcontrastenabled-android class=hash-link aria-label="Direct link to ishightextcontrastenabled-android" title="Direct link to ishightextcontrastenabled-android" translate=no>â</a></h3> 62<div class="language-tsx codeBlockContainer_mQmQ theme-code-block" style=--prism-color:#24292e;--prism-background-color:#f6f8fa><div class=codeBlockTitle_kY6l>React TSX</div><div class=codeBlockContent_t_Hd><pre tabindex=0 class="prism-code language-tsx codeBlock_RMoD thin-scrollbar" style=color:#24292e;background-color:#f6f8fa><code class=codeBlockLines_AclH><div class=token-line style=color:#24292e><span class="token keyword" style=color:#d73a49>static</span><span class="token plain"> </span><span class="token function" style=color:#6f42c1>
62isHighTextContrastEnabled</span><span class="token punctuation" style=color:#24292e>(</span><span class="token punctuation" style=color:#24292e>)</span><span class="token operator" style=color:#22863a>:</span><span class="token plain"> </span><span class="token known-class-name class-name" style=color:#6f42c1>Promise</span><span class="token operator" style=color:#22863a><</span><span class="token builtin" style=color:#005cc5>boolean</span><span class="token operator" style=color:#22863a>></span><br/></div></code></pre></div></div> 63<p>Query whether high text contrast is currently enabled. Returns a promise which resolves to a boolean. The result is <code>true</code> when high text contrast is enabled and <code>false</code> otherwise.</p> 64<hr/> 65<h3 class="anchor anchorTargetStickyNavbar_tleR" id=isdarkersystemcolorsenabled-ios><code>isDarkerSystemColorsEnabled()</code> <div class="label ios">iOS</div><a href=#isdarkersystemcolorsenabled-ios class=hash-link aria-label="Direct link to isdarkersystemcolorsenabled-ios" title="Direct link to isdarkersystemcolorsenabled-ios" translate=no>â</a></h3> 66<div class="language-tsx codeBlockContainer_mQmQ theme-code-block" style=--prism-color:#24292e;--prism-background-color:#f6f8fa><div class=codeBlockTitle_kY6l>React TSX</div><div class=codeBlockContent_t_Hd><pre tabindex=0 class="prism-code language-tsx codeBlock_RMoD thin-scrollbar" style=color:#24292e;background-color:#f6f8fa><code class=codeBlockLines_AclH><div class=token-line style=color:#24292e><span class="token keyword" style=color:#d73a49>static</span><span class="token plain"> </span><span class="token function" style=color:#6f42c1>isDarkerSystemColorsEnabled</span><span class="token punctuation" style=color:#24292e>(</span><span class="token punctuation" style=color:#24292e>)</span><span class="token operator" style=color:#22863a>:</span><span class="token plain"> </span><span class="token known-class-name class-name" style=color:#6f42c1>Promise</span><span class="token operator" style=color:#22863a><</span><span class="token builtin" style=color:#005cc5>boolean</span><span class="token operator" style=color:#22863a>></span><br/></div></code></pre></div></div> 67<p>Query whether dark system colors is currently enabled. Returns a promise which resolves to a boolean. The result is <code>true</code> when dark system colors is enabled and <code>false</code> otherwise.</p> 68<hr/> 69<h3 class="anchor anchorTargetStickyNavbar_tleR" id=preferscrossfadetransitions-ios><code>prefersCrossFadeTransitions()</code> <div class="label ios">iOS</div><a href=#preferscrossfadetransitions-ios class=hash-link aria-label="Direct link to preferscrossfadetransitions-ios" title="Direct link to preferscrossfadetransitions-ios" translate=no>â</a></h3> 70<div class="language-tsx codeBlockContainer_mQmQ theme-code-block" style=--prism-color:#24292e;--prism-background-color:#f6f8fa><div class=codeBlockTitle_kY6l>React TSX</div><div class=codeBlockContent_t_Hd><pre tabindex=0 class="prism-code language-tsx codeBlock_RMoD thin-scrollbar" style=color:#24292e;background-color:#f6f8fa><code class=codeBlockLines_AclH><div class=token-line style=color:#24292e><span class="token keyword" style=color:#d73a49>static</span><span class="token plain"> </span><span class="token function" style=color:#6f42c1>prefersCrossFadeTransitions</span><span class="token punctuation" style=color:#24292e>(</span><span class="token punctuation" style=color:#24292e>)</span><span class="token operator" style=color:#22863a>:</span><span class="token plain"> </span><span class="token known-class-name class-name" style=color:#6f42c1>Promise</span><span class="token operator" style=color:#22863a><</span><span class="token builtin" style=color:#005cc5>boolean</span><span class="token operator" style=color:#22863a>></span><span class="token punctuation" style=color:#24292e>;</span><br/></div></code></pre></div></div> 71<p>Query whether reduce motion and prefer cross-fade transitions settings are currently enabled. Returns a promise which resolves to a boolean. The result is <code>true</code> when prefer cross-fade transitions is enabled and <code>false</code> otherwise.</p> 72<hr/> 73<h3 class="anchor anchorTargetStickyNavbar_tleR" id=ï¸-setaccessibilityfocus>ðï¸ <code>setAccessibilityFocus()</code><a href=#ï¸-setaccessibilityfocus class=hash-link aria-label="Direct link to ï¸-setaccessibilityfocus" title="Direct link to ï¸-setaccessibilityfocus" translate=no>â</a></h3> 74<div class="theme-admonition theme-admonition-warning admonition_WCGJ alert alert--warning"><div class=admonitionHeading_GCBg><span class=admonitionIcon_L39b><svg viewBox="0 0 16 16"><path fill-rule=evenodd d="M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"/></svg></span>Deprecated</div><div class=admonitionContent_pbrs><p>Prefer using <code>sendAccessibilityEvent</code> with eventType <code>focus</code> instead.</div></div> 75<div class="language-tsx codeBlockContainer_mQmQ theme-code-block" style=--prism-color:#24292e;--prism-background-color:#f6f8fa><div class=codeBlockTitle_kY6l>React TSX</div><div class=codeBlockContent_t_Hd><pre tabindex=0 class="prism-code language-tsx codeBlock_RMoD thin-scrollbar" style=color:#24292e;background-color:#f6f8fa><code class=codeBlockLines_AclH><div class=token-line style=color:#24292e><span class="token keyword" style=color:#d73a49>static</span><span class="token plain"> </span><span class="token function" style=color:#6f42c1>setAccessibilityFocus</span><span class="token punctuation" style=color:#24292e>(</span><span class="token plain">reactTag</span><span class="token operator" style=color:#22863a>:</span><span class="token plain"> </span><span class="token builtin" style=color:#005cc5>number</span><span class="token punctuation" style=color:#24292e>)</span><span class="token punctuation" style=color:#24292e>;</span><br/></div></code></pre></div></div> 76<p>Set accessibility focus to a React component.</p> 77<p>On Android, this calls <code>UIManager.sendAccessibilityEvent</code> method with passed <code>reactTag</code> and <code>UIManager.AccessibilityEventTypes.typeViewFocused</code> arguments.</p> 78<div class="theme-admonition theme-admonition-note admonition_WCGJ alert alert--secondary"><div class=admonitionHeading_GCBg><span class=admonitionIcon_L39b><svg viewBox="0 0 14 16"><path fill-rule=evenodd d="M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.
7869H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"/></svg></span>note</div><div class=admonitionContent_pbrs><p>Make sure that any <code>View</code> you want to receive the accessibility focus has <code>accessible={true}</code>.</div></div> 79<hr/> 80<h3 class="anchor anchorTargetStickyNavbar_tleR" id=sendaccessibilityevent><code>sendAccessibilityEvent()</code><a href=#sendaccessibilityevent class=hash-link aria-label="Direct link to sendaccessibilityevent" title="Direct link to sendaccessibilityevent" translate=no>â</a></h3> 81<div class="language-tsx codeBlockContainer_mQmQ theme-code-block" style=--prism-color:#24292e;--prism-background-color:#f6f8fa><div class=codeBlockTitle_kY6l>React TSX</div><div class=codeBlockContent_t_Hd><pre tabindex=0 class="prism-code language-tsx codeBlock_RMoD thin-scrollbar" style=color:#24292e;background-color:#f6f8fa><code class=codeBlockLines_AclH><div class=token-line style=color:#24292e><span class="token keyword" style=color:#d73a49>static</span><span class="token plain"> </span><span class="token function" style=color:#6f42c1>sendAccessibilityEvent</span><span class="token punctuation" style=color:#24292e>(</span><span class="token plain">host</span><span class="token operator" style=color:#22863a>:</span><span class="token plain"> </span><span class="token maybe-class-name">HostInstance</span><span class="token punctuation" style=color:#24292e>,</span><span class="token plain"> eventType</span><span class="token operator" style=color:#22863a>:</span><span class="token plain"> </span><span class="token maybe-class-name">AccessibilityEventTypes</span><span class="token punctuation" style=color:#24292e>)</span><span class="token punctuation" style=color:#24292e>;</span><br/></div></code></pre></div></div> 82<p>Imperatively trigger an accessibility event on a React component, like changing the focused element for a screen reader.</p> 83<div class="theme-admonition theme-admonition-note admonition_WCGJ alert alert--secondary"><div class=admonitionHeading_GCBg><span class=admonitionIcon_L39b><svg viewBox="0 0 14 16"><path fill-rule=evenodd d="M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"/></svg></span>note</div><div class=admonitionContent_pbrs><p>Make sure that any <code>View</code> you want to receive the accessibility focus has <code>accessible={true}</code>.</div></div> 84<div class=table-wrapper><table><thead><tr><th>Name<th>Type<th>Description<tbody><tr><td>host <div class="label basic required">Required</div><td>HostInstance<td>The component ref to send the event to.<tr><td>eventType <div class="label basic required">Required</div><td>AccessibilityEventTypes<td>One of <code>'click'</code> (Android only), <code>'focus'</code>, <code>'viewHoverEnter'</code> (Android only), or <code>'windowStateChange'</code> (Android only)</table></div></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="theme-doc-footer-edit-meta-row row"><div class=editButtons_t0bR><a href=https://github.com/facebook/react-native-website/edit/main/docs/accessibilityinfo.md target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_bHB7 aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit page for next release</a><a href=https://github.com/facebook/react-native-website/edit/main/website/versioned_docs/version-0.87/accessibilityinfo.md target=_blank rel="noopener noreferrer" class=theme-edit-this-page><svg fill=currentColor height=20 width=20 viewBox="0 0 40 40" class=iconEdit_bHB7 aria-hidden=true><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"/></g></svg>Edit page for current release</a></div><div class=lastUpdated_VsjB><span class=theme-last-updated>Last updated<!-- --> on <b><time datetime=2026-08-12T16:11:06.000Z itemprop=dateModified>Aug 12, 2026</time></b></span></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--next" href=/docs/alert><div class=pagination-nav__sublabel>Next</div><div class=pagination-nav__label>Alert</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_XG6w thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href=#example class="table-of-contents__link toc-highlight">Example</a><li><a href=#methods class="table-of-contents__link toc-highlight">Methods</a><ul><li><a href=#addeventlistener class="table-of-contents__link toc-highlight"><code>addEventListener()</code></a><li><a href=#announceforaccessibility class="table-of-contents__link toc-highlight"><code>announceForAccessibility()</code></a><li><a href=#announceforaccessibilitywithoptions class="table-of-contents__link toc-highlight"><code>announceForAccessibilityWithOptions()</code></a><li><a href=#getrecommendedtimeoutmillis-android class="table-of-contents__link toc-highlight"><code>getRecommendedTimeoutMillis()</code> <div class="label android">Android</div></a><li><a href=#isaccessibilityserviceenabled-android class="table-of-contents__link toc-highlight"><code>isAccessibilityServiceEnabled()</code> <div class="label android">Android</div></a><li><a href=#isboldtextenabled-ios class="table-of-contents__link toc-highlight"><code>isBoldTextEnabled()</code> <div class="label ios">iOS</div></a><li><a href=#isgrayscaleenabled-ios class="table-of-contents__link toc-highlight"><code>isGrayscaleEnabled()</code> <div class="label ios">iOS</div></a><li><a href=#isinvertcolorsenabled-ios class="table-of-contents__link toc-highlight"><code>isInvertColorsEnabled()</code> <div class="label ios">iOS</div></a><li><a href=#isreducemotionenabled class="table-of-contents__link toc-highlight"><code>isReduceMotionEnabled()</code></a><li><a href=#isreducetransparencyenabled-ios class="table-of-contents__link toc-highlight"><code>isReduceTransparencyEnabled()</code> <div class="label ios">iOS</div></a><li><a href=#isscreenreaderenabled class="table-of-contents__link toc-highlight"><code>isScreenReaderEnabled()</code></a><li><a href=#ishightextcontrastenabled-android class="table-of-contents__link toc-highlight"><code>isHighTextContrastEnabled()</code> <div class="label android">Android</div></a><li><a href=#isdarkersystemcolorsenabled-ios class="table-of-contents__link toc-highlight"><code>isDarkerSystemColorsEnabled()</code> <div class="label ios">iOS</div></a><li><a href=#preferscrossfadetransitions-ios class="table-of-contents__link toc-highlight"><code>prefersCrossFadeTransitions()</code> <div class="label ios">iOS</div></a><li><a href=#ï¸-setaccessibilityfocus class="table-of-contents__link toc-highlight">ðï¸ <code>setAccessibilityFocus()</code></a><li><a href=#sendaccessibilityevent class="table-of-contents__link toc-highlight"><code>sendAccessibilityEvent()</code></a></ul></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links">
84<div class="theme-layout-footer-column col footer__col"><div class=footer__title>Develop</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs/getting-started>Guides</a><li class=footer__item><a class=footer__link-item href=/docs/components-and-apis>Components</a><li class=footer__item><a class=footer__link-item href=/docs/accessibilityinfo>APIs</a><li class=footer__item><a class=footer__link-item href=/architecture/overview>Architecture</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Participate</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/showcase>Showcase</a><li class=footer__item><a class=footer__link-item href=/contributing/overview>Contributing</a><li class=footer__item><a class=footer__link-item href=/community/overview>Community</a><li class=footer__item><a href=https://github.com/react/react-native/blob/main/CODE_OF_CONDUCT.md target=_blank rel="noopener noreferrer" class=footer__link-item>Code of Conduct<svg width=13.5 height=13.5 viewBox="0 0 256 256" aria-label="(opens in new tab)" class=iconExternalLink_2l9O><line x1=64 y1=192 x2=192 y2=64 fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=16 /><polyline points="88 64 192 64 192 168" fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=16 /></svg></a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Find us</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/blog>Blog</a><li class=footer__item><a href=https://x.com/reactnative target=_blank rel="noopener noreferrer" class=footer__link-item>X<svg width=13.5 height=13.5 viewBox="0 0 256 256" aria-label="(opens in new tab)" class=iconExternalLink_2l9O><line x1=64 y1=192 x2=192 y2=64 fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=16 /><polyline points="88 64 192 64 192 168" fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=16 /></svg></a><li class=footer__item><a href=https://bsky.app/profile/reactnative.dev target=_blank rel="noopener noreferrer" class=footer__link-item>Bluesky<svg width=13.5 height=13.5 viewBox="0 0 256 256" aria-label="(opens in new tab)" class=iconExternalLink_2l9O><line x1=64 y1=192 x2=192 y2=64 fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=16 /><polyline points="88 64 192 64 192 168" fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=16 /></svg></a><li class=footer__item><a href=https://github.com/facebook/react-native target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 viewBox="0 0 256 256" aria-label="(opens in new tab)" class=iconExternalLink_2l9O><line x1=64 y1=192 x2=192 y2=64 fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=16 /><polyline points="88 64 192 64 192 168" fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=16 /></svg></a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Explore More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://react.dev/ target=_blank rel="noopener noreferrer" class=footer__link-item>React<svg width=13.5 height=13.5 viewBox="0 0 256 256" aria-label="(opens in new tab)" class=iconExternalLink_2l9O><line x1=64 y1=192 x2=192 y2=64 fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=16 /><polyline points="88 64 192 64 192 168" fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=16 /></svg></a><li class=footer__item><a href=https://reactnative.directory/ target=_blank rel="noopener noreferrer" class=footer__link-item>Packages Directory<svg width=13.5 height=13.5 viewBox="0 0 256 256" aria-label="(opens in new tab)" class=iconExternalLink_2l9O><line x1=64 y1=192 x2=192 y2=64 fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=16 /><polyline points="88 64 192 64 192 168" fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=16 /></svg></a><li class=footer__item>
84<a href=https://opensource.fb.com/legal/privacy/ target=_blank rel="noopener noreferrer" class=footer__link-item>Privacy Policy<svg width=13.5 height=13.5 viewBox="0 0 256 256" aria-label="(opens in new tab)" class=iconExternalLink_2l9O><line x1=64 y1=192 x2=192 y2=64 fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=16 /><polyline points="88 64 192 64 192 168" fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=16 /></svg></a><li class=footer__item><a href=https://opensource.fb.com/legal/terms/ target=_blank rel="noopener noreferrer" class=footer__link-item>Terms of Service<svg width=13.5 height=13.5 viewBox="0 0 256 256" aria-label="(opens in new tab)" class=iconExternalLink_2l9O><line x1=64 y1=192 x2=192 y2=64 fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=16 /><polyline points="88 64 192 64 192 168" fill=none stroke=currentColor stroke-linecap=round stroke-linejoin=round stroke-width=16 /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=margin-bottom--sm><a href=https://opensource.fb.com/ rel="noopener noreferrer" class=footerLogoLink_tutC><img src=/img/oss_logo.svg alt="Meta Open Source Logo" class="footer__logo themedComponent_siVc themedComponent--light_hHel"/><img src=/img/oss_logo.svg alt="Meta Open Source Logo" class="footer__logo themedComponent_siVc themedComponent--dark_yETr"/></a></div><div class=footer__copyright>Copyright © Meta Platforms, Inc.</div></div></div></footer></div></body>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.