ソースを参照

Merge pull request #16178 from itk-dev/feature/hide-decorative-images-from-assistive-tech

Feature/hide decorative images from assistive tech
Tim Jaeryang Baek 2 ヶ月 前
コミット
f1300a8fd9

+ 1 - 0
src/lib/components/icons/PencilSquare.svelte

@@ -10,6 +10,7 @@
 	stroke-width={strokeWidth}
 	stroke="currentColor"
 	class={className}
+	aria-hidden="true"
 >
 	<path
 		stroke-linecap="round"

+ 1 - 1
src/lib/components/layout/Sidebar.svelte

@@ -558,7 +558,7 @@
 							crossorigin="anonymous"
 							src="{WEBUI_BASE_URL}/static/favicon.png"
 							class="sidebar-new-chat-icon size-5 -translate-x-1.5 rounded-full"
-							alt="logo"
+							alt=""
 						/>
 					</div>
 					<div class=" self-center text-sm text-gray-850 dark:text-white font-primary">