Skip to content

Commit 18f6976

Browse files
authored
Add descriptive alt text to image (#812)
* Added Alt text for Ingress file Signed-off-by: Peace Sandy <[email protected]> * feat: add meaningful alt text to images Signed-off-by: Peace Sandy <[email protected]> --------- Signed-off-by: Peace Sandy <[email protected]>
1 parent e859c02 commit 18f6976

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

src/components/pages/brand/hero/hero.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const Hero = () => (
3636
loading="eager"
3737
width={1600}
3838
height={554}
39-
aria-hidden
39+
aria-hidden="true"
4040
/>
4141
<img
4242
className="absolute -bottom-6 left-1/2 -translate-x-1/2 translate-y-0 xs:-bottom-4 xs:max-w-[390px] sm:hidden"
@@ -45,7 +45,7 @@ const Hero = () => (
4545
height={540}
4646
loading="eager"
4747
alt=""
48-
aria-hidden
48+
aria-hidden="true"
4949
/>
5050
</section>
5151
);

src/components/shared/featured-story/featured-story.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const FeaturedStory = ({
3636
<GatsbyImage
3737
imgClassName="rounded-2xl"
3838
image={getImage(ogImage)}
39-
alt=""
39+
alt={title}
4040
loading="eager"
4141
/>
4242
)}

src/pages/use-cases/ingress.jsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,25 @@ const sectionContent1 = {
2828
description:
2929
'Cilium Ingress introduces flexible load balancer modes, enabling you to choose between dedicated and shared configurations tailored to your needs. In shared mode, resources are conserved by utilizing a single load balancer across all ingress resources. In dedicated mode, each ingress receives an independent load balancer, preventing conflicts like overlapping path prefixes. This adaptability ensures that scaling your application architecture never compromises performance or resource efficiency.',
3030
videoSrc: 'https://www.youtube.com/embed/t5nP_JT8qUg',
31+
imageAlt:
32+
'Diagram showing flexible load balancing with Cilium Ingress in shared and dedicated modes',
3133
};
3234

3335
const sectionContent2 = {
3436
title: 'Seamless Source IP Visibility',
3537
description:
3638
'Cilium Ingress ensures that backend applications retain access to the original source IP, a common pain point with other solutions. By leveraging TPROXY and the intelligent configuration of Envoy, Cilium maintains transparency in HTTP headers such as X-Forwarded-For and X-Envoy-External-Address. This seamless visibility is vital for debugging, logging, and implementing IP-based access controls without additional overhead.',
3739
imageSrc: IngressImage1,
40+
imageAlt:
41+
'Visualization of Cilium Ingress maintaining original source IP visibility using Envoy and TPROXY',
3842
};
3943

4044
const sectionContent3 = {
4145
title: 'Advanced TLS Management',
4246
description:
4347
'With support for TLS termination and passthrough, Cilium Ingress simplifies secure traffic handling. It enables multi-TLS backend sharing while dynamically routing based on SNI. This eliminates configuration complexity and ensures robust security, even in highly dynamic environments. Applications benefit from simplified setup and seamless performance.',
4448
imageSrc: IngressImage2,
49+
imageAlt: 'Diagram illustrating TLS termination and passthrough management in Cilium Ingress',
4550
imageRight: false,
4651
};
4752

@@ -50,6 +55,8 @@ const sectionContent4 = {
5055
description:
5156
"Cilium embeds security directly into the network layer using eBPF. This approach allows fine-grained enforcement of CiliumNetworkPolicies for traffic entering and exiting the cluster. Traffic passes through an Envoy proxy integrated with Cilium's policy engine, enabling precise control over network behavior. This dual-layer security ensures compliance with organizational policies while protecting against advanced threats.",
5257
imageSrc: IngressImage3,
58+
imageAlt:
59+
'Diagram showing eBPF-based network policy enforcement and Envoy proxy integration in Cilium',
5360
imageRight: true,
5461
};
5562

0 commit comments

Comments
 (0)