-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9293 from mozilla/feature/9253-youtube-regrets-he…
…ro-section Youtube regrets 2022 hero & stats section
- Loading branch information
Showing
19 changed files
with
346 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
...rkapi/wagtailpages/templates/wagtailpages/pages/youtube-regrets-2021/fragments/intro.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
{% load i18n %} | ||
<div class="container tw-dark mb-3"> | ||
<section class="container tw-dark mb-3"> | ||
<div class="row justify-content-center"> | ||
<div class="col-12 col-md-8"> | ||
<p> | ||
{% blocktrans with stories_link='class="fw-bold" href="https://foundation.mozilla.org/campaigns/youtube-regrets/"' trimmed %} | ||
{% blocktrans with stories_link='class="tw-font-bold" href="https://foundation.mozilla.org/campaigns/youtube-regrets/"' trimmed %} | ||
In 2019, Mozilla collected <a {{stories_link}}>countless stories</a> from people whose lives were impacted by YouTube’s recommendation algorithm. People had been exposed to misinformation, developed unhealthy body images, and became trapped in bizarre rabbit holes. The more stories we read, the more we realized how central YouTube has become to the lives of so many people — and just how much YouTube recommendations can impact their wellbeing. | ||
{% endblocktrans %} | ||
</p> | ||
<p class="mb-5 pb-4"> | ||
{% blocktrans with routine_response_url="https://foundation.mozilla.org/blog/congratulations-youtube-now-show-your-work/" trimmed %} | ||
Yet when confronted about its recommendation algorithm, <span class="fw-bold">YouTube’s <a href="{{routine_response_url}}">routine response</a> is to deny and deflect</span>. | ||
Yet when confronted about its recommendation algorithm, <span class="tw-font-bold">YouTube’s <a href="{{routine_response_url}}">routine response</a> is to deny and deflect</span>. | ||
{% endblocktrans %} | ||
</p> | ||
<p> | ||
{% blocktrans with reporter_link='class="fw-bold" href="https://foundation.mozilla.org/campaigns/regrets-reporter/"' trimmed %} | ||
{% blocktrans with reporter_link='class="tw-font-bold" href="https://foundation.mozilla.org/campaigns/regrets-reporter/"' trimmed %} | ||
Faced with YouTube’s continuous refusal to engage, Mozilla built a browser extension, <a {{reporter_link}}>RegretsReporter</a>, that allows people to donate data about the YouTube videos they regret watching on the platform. | ||
Through one of the biggest crowdsourced investigations into YouTube, we’ve uncovered new information that warrants urgent attention and action from lawmakers and the public. | ||
{% endblocktrans %} | ||
</p> | ||
<p class="fw-bold"> | ||
<p class="tw-font-bold"> | ||
{% blocktrans trimmed %} | ||
We now know that YouTube is recommending videos that violate their very own content policies and harm people around the world — and that needs to stop. | ||
{% endblocktrans %} | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
...orkapi/wagtailpages/templates/wagtailpages/pages/youtube-regrets-2022/fragments/hero.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{% load static i18n youtube_tags %} | ||
<div class="container tw-dark tw-py-[40px]"> | ||
<div class="tw-relative medium:tw-min-h-[600px] large:tw-min-h-[850px] tw-grid medium:tw-grid-cols-2"> | ||
|
||
{# images swapped on mobile and desktop #} | ||
<div> | ||
<img class="medium:tw-hidden" src="{% static "_images/youtube-regrets/regrets-reporter/report-findings-hero-mobile.png" %}" alt=""> | ||
<img class="tw-hidden medium:tw-block tw-absolute medium:tw-left-[-10%] medium:tw-top-1/2 medium:tw--translate-y-1/2 tw-w-full" src="{% static "_images/youtube-regrets/regrets-reporter/report-findings-hero-desktop.png" %}" alt=""> | ||
</div> | ||
|
||
<div class="tw-relative tw-space-y-5 medium:tw-space-y-6 tw-flex tw-flex-col tw-justify-center tw-items-start"> | ||
<h1 class="tw-mb-0 tw-leading-none tw-font-bold tw-text-4xl medium:tw-text-[3.25rem]">{% trans "Does this button work?" %}</h1> | ||
<p class="tw-body-large large:tw-text-2xl"> | ||
{% blocktrans trimmed %} | ||
<span class="tw-font-bold">Investigating YouTube's ineffective user controls</span> powered by 22,722 volunteers, Mozilla scrutinized YouTube to determine how much control people actually have over the platform’s recommendation algorithm. | ||
<span class="tw-italic">This is what we learned</span>. | ||
{% endblocktrans %} | ||
</p> | ||
<a href="https://foundation.mozilla.org/research/library/user-controls/report/" class="btn btn-with-icon btn-red"> | ||
<svg aria-hidden="true" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2 3.395h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2v-15ZM22 3.395h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7v-15Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/></svg> | ||
{% trans "Read the Full Report" %} | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
|
48 changes: 48 additions & 0 deletions
48
...rkapi/wagtailpages/templates/wagtailpages/pages/youtube-regrets-2022/fragments/intro.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{% load i18n static %} | ||
<section class="tw-relative tw-mt-6 medium:tw-mt-7"> | ||
<img class="tw-hidden large:tw-block tw-absolute tw-right-0 tw-bottom-0 large:tw-max-w-[200px] xlarge:tw-max-w-[250px] 2xl:tw-max-w-[300px] tw-z-0" src="{% static "_images/youtube-regrets/regrets-reporter/what-is-a-youtube-regret-desktop.png" %}" alt=""> | ||
<img class="tw-hidden large:tw-block tw-absolute tw-left-0 tw-bottom-0 large:tw-max-w-[200px] xlarge:tw-max-w-[250px] 2xl:tw-max-w-[300px] tw-z-0" src="{% static "_images/youtube-regrets/regrets-reporter/what-is-a-youtube-regret-desktop.png" %}" alt=""> | ||
|
||
<div class="container tw-dark rich-text tw-relative tw-z-10"> | ||
<div class="tw-space-y-4 tw-max-w-3xl tw-mx-auto"> | ||
<h2>{% trans 'People feel like they don’t have control over their YouTube recommendations...' %}</h2> | ||
<p> | ||
{% blocktrans with 2021_report_link='https://assets.mofoprod.net/network/documents/Mozilla_YouTube_Regrets_Report.pdf' trimmed %} | ||
Our <a href="{{ 2021_report_link }}">2021 investigation into YouTube’s recommender system</a> uncovered a range of problems on the platform: an opaque algorithm, inconsistent oversight, and geographic inequalities. We also learned that people feel they don’t have control over their YouTube experience — particularly the videos that are recommended to them. | ||
{% endblocktrans %} | ||
</p> | ||
<p> | ||
{% blocktrans with tools_link="https://support.google.com/youtube/answer/6342839" trimmed %} | ||
YouTube says that people can manage their video recommendations through <a href="{{ tools_link }}">the feedback tools the platform offers.</a> But do YouTube’s user controls actually work? | ||
{% endblocktrans %} | ||
</p> | ||
|
||
{# This acts as a section separator #} | ||
<h2 class="tw-py-6 medium:tw-pt-[60px] medium:tw-pb-[115px]">{% trans 'and our study shows that they really don’t.' %}</h2> | ||
|
||
{# mobile only image #} | ||
<img class="w-full large:tw-hidden" src="{% static "_images/youtube-regrets/regrets-reporter/what-is-a-youtube-regret-mobile.png" %}" alt=""> | ||
|
||
<p class="tw-h4-heading tw-font-sans medium:tw-text-[1.625rem] tw-font-light"> | ||
{% trans 'Our work is the first-ever experimental audit of YouTube by independent researchers, powered by Mozilla’s RegretsReporter.' %} | ||
</p> | ||
<p> | ||
{% blocktrans with reporter_link='https://foundation.mozilla.org/campaigns/regrets-reporter/' trimmed %} | ||
Using <a href="{{ reporter_link }}">RegretsReporter</a>, an open source tool Mozilla built to study YouTube’s recommendation algorithm, we were able to independently audit YouTube. | ||
{% endblocktrans %} | ||
</p> | ||
<ul> | ||
<li> | ||
{% trans 'We combined qualitative and quantitative insights to paint a more complete picture of the effectiveness — or rather, ineffectiveness — of YouTube’s controls.' %} | ||
</li> | ||
<li> | ||
{% trans 'We leveraged a massive-scale community to collect our data.' %} | ||
</li> | ||
<li> | ||
{% trans 'We applied rigorous and powerful research methods including a randomized controlled experiment and a machine learning model.' %} | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
|
||
</section> |
20 changes: 20 additions & 0 deletions
20
...rkapi/wagtailpages/templates/wagtailpages/pages/youtube-regrets-2022/fragments/stats.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{% load static i18n l10n humanize %} | ||
|
||
<div class="container tw-dark tw-my-5 medium:tw-my-7"> | ||
{% with participants=22722 videos_analyzed=567880195 people_surveyed=2758 %} | ||
<div class="tw-flex tw-gap-6 tw-flex-col medium:tw-flex-wrap medium:tw-flex-row tw-justify-evenly tw-mb-5"> | ||
<div class="stat tw-text-white" > | ||
<p class="stat__number" id="participants-count" data-stat="{{ participants }}">{{ participants|intcomma }}</p> | ||
<p class="stat__label">{% trans "Participants" %}</p> | ||
</div> | ||
<div class="stat tw-text-white"> | ||
<p class="stat__number" id="videos-analyzed-count" data-stat="{{ videos_analyzed }}" data-stat-delay="250">{{ videos_analyzed|intcomma }}</p> | ||
<p class="stat__label">{% trans "Videos Analyzed" %}</p> | ||
</div> | ||
<div class="stat tw-text-white"> | ||
<p class="stat__number" id="people-surveyed-count" data-stat="{{ people_surveyed }}" data-stat-delay="500">{{ people_surveyed|intcomma }}</p> | ||
<p class="stat__label">{% trans "People Surveyed" %}</p> | ||
</div> | ||
</div> | ||
{% endwith %} | ||
</div> |
Oops, something went wrong.