-
Notifications
You must be signed in to change notification settings - Fork 919
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
Updating Twitter references and icons to Xitter [fixes #13980] #14041
Conversation
Most references that need to be updated have been worked on. Now I'm just waiting on the latest Protocol version to be published (#14084) so I can use the new X icon to replace the old Twitter bird icon |
f30bec7
to
89764ce
Compare
89764ce
to
35984b6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I took a look through the pages mostly everywhere seems to be covered (I think). I did notice a few pages that are still showing the old bird icon still.
The other thing I wonder is if we're perhaps overusing the aria-label
attribute a bit too much here? From what I understand it's mostly meant as a fallback for when an interactive element does not contain an accessible name, but in all the places here the links already have accessible text (for icons, the text is only visually hidden)? I think we should probably only really be using aria-label as a last resort. Would it be better to use / update the already accessible link text instead?
bedrock/newsletter/templates/newsletter/opt-out-confirmation.html
Outdated
Show resolved
Hide resolved
bedrock/mozorg/templates/mozorg/about/leadership/includes/mofo.html
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #14041 +/- ##
==========================================
- Coverage 76.72% 76.58% -0.15%
==========================================
Files 145 145
Lines 7868 7802 -66
==========================================
- Hits 6037 5975 -62
+ Misses 1831 1827 -4 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bedrock/newsletter/templates/newsletter/opt-out-confirmation.html
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r+ (I'll leave to you to merge when ready) - nice work!
One-line summary
References to "Twitter" should be renamed to "X (formerly Twitter)", or just "X" where it makes sense, as well as updating Twitter icons to the new X(itter) icons.
Things to note
data-link-name
attributes since those are internal and it would probably confuse/disrupt things from in our analyticsNote
I updated mentions of
data-link-name
todata-link-text
because of the changes in this PR: #14057Issue / Bugzilla link
#13980
Testing