-
-
Notifications
You must be signed in to change notification settings - Fork 10
homepage style tweaks #36
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -70,15 +70,28 @@ const Page = () => { | |||||
| </Link> | ||||||
| </div> | ||||||
| </div> | ||||||
| <div className="flex-1 flex flex-col bg-dark-purple text-snow rounded-lg p-4"> | ||||||
| <h2> | ||||||
| <Link href="/articles/capital-one-data-breach" className="link"> | ||||||
| 😱{' '} | ||||||
| <span className="text-amethyst-gradient">Capital One Data Breach – A Cautionary Tale</span> | ||||||
| </Link> | ||||||
| </h2> | ||||||
| <div className="text-sm text-amethyst"> | ||||||
| What's in your <s>wallet</s> cloud? | ||||||
| <div className="flex-1 flex flex-col translucent-snow rounded-lg p-4"> | ||||||
| <div className="flex gap-4 items-center"> | ||||||
| <Image | ||||||
| src="/images/chris.jpg" | ||||||
| alt={`By Chris`} | ||||||
| height={48} | ||||||
| width={48} | ||||||
| className="rounded-full h-[48px] w-[48px]" | ||||||
|
||||||
| className="rounded-full h-[48px] w-[48px]" | |
| className="rounded-full h-12 w-12" |
Copilot
AI
May 24, 2025
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.
The standalone emoji will be announced by screen readers, which may be distracting. Wrap it in a <span aria-hidden="true"> or add role="img" aria-hidden="true" so it's purely decorative.
| 😱 | |
| <span aria-hidden="true">😱</span> |
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.
The
alttext is not descriptive of the image content. Consider using something likealt="Photo of Chris"to better convey the image purpose to screen readers.