Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessibility fix: Allow iOS browsers to auto-scale fonts based on user preference #18

Open
chrislachance opened this issue Jun 18, 2021 · 0 comments

Comments

@chrislachance
Copy link

May be a good idea add font:-apple-system-body to the HTML element CSS to allow iOS browsers to auto-scale font sizes based on user preference set in Accessibility > Display & Text size.

See this Codepen for the full code example. https://codepen.io/chrislachance/pen/OJpmgrM

(PS: iOS is set to a default of 17px instead of the browser-standard 16px when using this method.)

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

No branches or pull requests

1 participant