-
Notifications
You must be signed in to change notification settings - Fork 5
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
Increasing text zoom size on mobile devices does not uniformly increase text size in Ramp components #724
Comments
Sometimes all CSS properties are not supported in every browser/platform combination. This could probably be fixed by using browser specific CSS for these components. |
Zooming in on iPhone 13 Pro Max v18.0: Tested page: https://avalon-dev.dlib.indiana.edu/media_objects/3j3332278
From what I observed the text sizes are increasing in the On iPhone 13 Pro Max on iOS v18.0: Screen.Recording.2024-11-21.at.3.51.21.PM.movOn iPad Pro 13 2024 on iOS v17.5: Screen.Recording.2024-11-21.at.4.26.18.PM.mov
I was not able to reproduce this for Samsung Galaxy S24 Ultra on Android v14.0, Samsung S24 on Android v14.0 , and Google Pixel 8 on Android v14.0. On Samsung S24 on Android v14.0: Screen.Recording.2024-11-21.at.4.19.52.PM.movThe same item on Ramp demo site on iPad Pro 13 2024 on iOS v17.5: Screen.Recording.2024-11-21.at.4.33.12.PM.movIt seems on Ramp demo site the text size increase with zooming-in more consistent than what we are seeing on A possible starting place: the font-sizes of the components could possible be affected by other CSS (un-scoped) in the Avalon context, resulting in the inconsistency of the text size increases in different components? |
I set a font-size in the main CSS file of Ramp that applies it to all the components. With this the text sizes are identical across all components unless they are specifically changed via CSS (either in Ramp or a host application). Issue in Android; |
Description
Testing Ramp in avalon-dev. Increasing the text size in the Safari browser seems to increase text size in only certain Ramp components. Which components are affected seems to differ between iPad/iPhone and Android.
This behavior is not seen when zooming the browser in Chrome or Safari on desktop.
On iPhone or iPad (ios17):
On Android Device (Google Pixel 8 or Samsung Galaxy S24, OS 14):
Not sure if this is a bug or if we need to discuss possible solutions. It does seem like all text should increase in size uniformly to meet the WCAG requirements.
The text was updated successfully, but these errors were encountered: