Skip to content

fix(android): apply accessibility CSS classes and font scale on init#11224

Merged
NathanWalker merged 1 commit into
mainfrom
fix/accessibility-classes
May 20, 2026
Merged

fix(android): apply accessibility CSS classes and font scale on init#11224
NathanWalker merged 1 commit into
mainfrom
fix/accessibility-classes

Conversation

@edusperoni
Copy link
Copy Markdown
Contributor

PR Checklist

What is the current behavior?

On iOS, initAccessibilityCssHelper already calls updateCurrentHelperClasses and applyFontScaleToRootViews immediately. On Android, these were only called inside the fontScaleChangedEvent listener, meaning accessibility CSS classes and font scale were not applied until the first font scale change event.

What is the new behavior?

font scale and helpers are now applied correctly on android on init.

On iOS, initAccessibilityCssHelper already calls updateCurrentHelperClasses
and applyFontScaleToRootViews immediately. On Android, these were only called
inside the fontScaleChangedEvent listener, meaning accessibility CSS classes
and font scale were not applied until the first font scale change event.
@nx-cloud
Copy link
Copy Markdown

nx-cloud Bot commented May 20, 2026

View your CI Pipeline Execution ↗ for commit a9d79b8

Command Status Duration Result
nx test apps-automated -c=android ✅ Succeeded 4m View ↗
nx run-many --target=test --configuration=ci --... ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2026-05-20 02:51:27 UTC

@NathanWalker NathanWalker merged commit b3b8a1f into main May 20, 2026
7 checks passed
@NathanWalker NathanWalker deleted the fix/accessibility-classes branch May 20, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants