mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-11-01 16:49:44 +00:00
♿️ Fix appearance switcher accessibility tooltips
Dynamically update the appearance switcher accessibility labels and tooltips using the native i18n variables so that the UI correctly reflects the user's localized language instead of hardcoded English strings.
This commit is contained in:
1 parent
e9699d8c5d
commit
1d61651817
3 files changed
+28
-3
No files matched your search
@@ -24,9 +24,10 @@
|
||||
<div class="flex items-center">
|
||||
<button
|
||||
id="appearance-switcher"
|
||||
aria-label="Dark mode switcher"
|
||||
aria-label="{{ i18n "footer.dark_appearance" }}"
|
||||
type="button"
|
||||
class="text-base bf-icon-color-hover">
|
||||
class="text-base bf-icon-color-hover"
|
||||
title="{{ i18n "footer.dark_appearance" }}">
|
||||
<div class="flex items-center justify-center dark:hidden">
|
||||
{{ partial "icon.html" "moon" }}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user