You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ui: FocusGuard passes importantForAccessibility to the DOM — React warns on every web page #993
packages/ui/src/accessibility/FocusGuard.tsx:64 renders a View with importantForAccessibility="no" and only ever renders on web (Platform.OS !== 'web' returns null above it). react-native-web has no mapping for that prop, so it reaches the DOM and React logs on every page that mounts a focus guard:
React does not recognize the `importantForAccessibility` prop on a DOM element.
Seen in the dev toast at 390 on /assessments and /dashboard while verifying #992; reproduces headless with a console listener on any authenticated page.
Change
Drop the prop in FocusGuard — the guard is already accessible={false} with tabIndex: 0, which is the web form of the same intent. Chart/BarChart.tsx:102 carries the same prop on a View that does render on web; guard it with Platform.OS !== 'web' or use aria-hidden.
Acceptance
No does not recognize warning on /dashboard at 390 and 1440 (headless console listener).
Activity
fix(a11y): stop passing importantForAccessibility to the DOM (#50)