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

feat(oversight): show that iOS CWVs are fake #643

Merged
merged 1 commit into from
Sep 9, 2024
Merged

feat(oversight): show that iOS CWVs are fake #643

merged 1 commit into from
Sep 9, 2024

Conversation

trieloff
Copy link
Contributor

@trieloff trieloff commented Sep 9, 2024

As of 2024, CWV readings with iOS user agents are coming from non-iOS browsers
that falsify their user agent string. This can include Chrome when using devtools
and simulating a mobile viewport. Apple does not allow custom rendering engines
in most of the world, and in the EU, where it does allow custom rendering engines,
no browser vendor ships a browser with a non-WebKit engine, so that all actual
iOS browsers are just WebKit in disguise. Webkit does not implement key APIs required
for measurement of Core Web Vitals, effectively rendering all CWVs readings that
claim to apply to iOS suspect.

This PR addresses this by reducing the visual contrast of the CWV pills for the
user agent iOS only.

Screenshot 2024-09-09 at 09 55 18

As of 2024, CWV readings with iOS user agents are coming from non-iOS browsers
that falsify their user agent string. This can include Chrome when using devtools
and simulating a mobile viewport. Apple does not allow custom rendering engines
in most of the world, and in the EU, where it does allow custom rendering engines,
no browser vendor ships a browser with a non-WebKit engine, so that all actual
iOS browsers are just WebKit in disguise. Webkit does not implement key APIs required
for measurement of Core Web Vitals, effectively rendering all CWVs readings that
claim to apply to iOS suspect.

This PR addresses this by reducing the visual contrast of the CWV pills for the
user agent iOS only.
Copy link

aem-code-sync bot commented Sep 9, 2024

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run PSI checks
  • Re-sync branch
Commits

@trieloff trieloff merged commit ef03a9d into main Sep 9, 2024
3 of 4 checks passed
@trieloff trieloff deleted the no-ios-cwv branch September 9, 2024 11:54
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.

1 participant