From 12d2e2e3f10719b983005e7ce8fa8f931026ae5c Mon Sep 17 00:00:00 2001 From: hamed <15238-genius.ha@users.noreply.drupalcode.org> Date: Sun, 21 Jun 2026 17:47:23 +0330 Subject: [PATCH] fix(logo): add aria-labels and improve accessibility features in Logo component fix(progress): enhance accessibility by adding aria-label to LinearProgress component fix(share): add aria-label for better accessibility in Share button fix(title): change h3 to h2 for semantic correctness and add aria-labels for links fix(qrimg): add alt text for QR code image for improved accessibility fix(buttonmenu): add aria-label for mobile menu button to enhance accessibility --- app/component/Logo.js | 16 ++++++++++++---- app/component/ProfressDetail.js | 1 + components/doctor/detailDoctor/Share.js | 1 + components/doctor/detailDoctor/Title.js | 5 +++-- components/doctor/poster/QrImg.js | 2 +- components/layout/header/list/col/ButtonMenu.js | 1 + 6 files changed, 19 insertions(+), 7 deletions(-) diff --git a/app/component/Logo.js b/app/component/Logo.js index 9928a04..7817d3d 100644 --- a/app/component/Logo.js +++ b/app/component/Logo.js @@ -3,19 +3,27 @@ import Link from "next/link"; import React from "react"; function Logo({ isAbsolute, matchedCity }) { + const siteName = + matchedCity?.site_name || + (matchedCity?.name ? `${matchedCity.name} نوبت` : "نوبت ۷۲۴"); return ( - +
- {matchedCity?.site_name || - (matchedCity?.name ? `${matchedCity.name} نوبت` : "نوبت ۷۲۴")} + {siteName}
در حال بارگذاری...
)} diff --git a/components/layout/header/list/col/ButtonMenu.js b/components/layout/header/list/col/ButtonMenu.js index 3ee939d..a8f997c 100644 --- a/components/layout/header/list/col/ButtonMenu.js +++ b/components/layout/header/list/col/ButtonMenu.js @@ -4,6 +4,7 @@ function ButtonMenu({ isActive, setIsActive }) { return (