Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion components/sections/home8/section2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ export default function Section2({ eventDate, showCountdown }: Readonly<Section2
<div className="conference-stats">
{/* Background with reused image */}
<div className="conference-stats__bg">
<Image src="/assets/img/bg/header-bg20.png" alt="Background Texture" fill style={{ objectFit: "cover" }} priority />
{/* Bolt: Removed priority from below-the-fold image to prioritize LCP hero image */}
<Image src="/assets/img/bg/header-bg20.png" alt="Background Texture" fill style={{ objectFit: "cover" }} />
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For purely decorative images like this background texture, it's a web accessibility best practice to use an empty alt attribute (alt=""). This tells screen readers to ignore the image, preventing them from announcing non-essential information and creating a smoother experience for users with visual impairments. The current alt text "Background Texture" doesn't convey critical information and can be considered noise.

Suggested change
<Image src="/assets/img/bg/header-bg20.png" alt="Background Texture" fill style={{ objectFit: "cover" }} />
<Image src="/assets/img/bg/header-bg20.png" alt="" fill style={{ objectFit: "cover" }} />

</div>

<div className="container">
Expand Down
3 changes: 2 additions & 1 deletion components/sections/home8/section4.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ export default function Section4({ sponsors, eventVenue }: Readonly<Section4Prop
backgroundPosition: "center",
}}
>
<Image src="/assets/img/elements/layer1.png" className="layer1" alt="" fill priority />
{/* Bolt: Removed priority from below-the-fold image to prioritize LCP hero image */}
<Image src="/assets/img/elements/layer1.png" className="layer1" alt="" fill />
<div className="container">
{!hasSponsors && (
<>
Expand Down
Loading