From 73a58e530559f90c0a744b742a16bd4f093c0974 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Mon, 6 Jul 2026 21:38:04 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=95=B8=EF=B8=8F=20Spider:=20Add=20ARIA=20?= =?UTF-8?q?semantics=20to=20AnnouncementPopup=20modal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 💡 What: Added `role="dialog"`, `aria-modal="true"`, and `aria-labelledby="announcement-title"` to the `` in `src/components/AnnouncementPopup/index.tsx`. Also added `id="announcement-title"` to its `

` element. 🎯 Why: Without these ARIA properties, screen readers and search engine crawlers parsing the DOM cannot structurally identify the div as a modal dialogue overlaying the main content. 📊 Impact: Improves semantic structure and accessibility, ensuring the UI overlay is properly understood by assistive technologies and machine parsers without disrupting existing behavior. Co-authored-by: kourdroid <36898160+kourdroid@users.noreply.github.com> --- src/components/AnnouncementPopup/index.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/AnnouncementPopup/index.tsx b/src/components/AnnouncementPopup/index.tsx index d7d89db..ce5d4c8 100644 --- a/src/components/AnnouncementPopup/index.tsx +++ b/src/components/AnnouncementPopup/index.tsx @@ -109,7 +109,11 @@ export const AnnouncementPopup: React.FC = ({ announceme /> {/* Modal Content */} + {/* SEO/A11y: Added role="dialog", aria-modal="true", and aria-labelledby to provide proper semantic structure for screen readers and crawlers interpreting the modal. */} = ({ announceme {/* Right Side: Content */}
{/* Title */} -

+

{title}