a11y: add aria-labels to sidebar footer buttons
This commit is contained in:
@@ -41,6 +41,7 @@ function SidebarFooter() {
|
|||||||
onClick={pwa.install}
|
onClick={pwa.install}
|
||||||
className="inline-flex items-center gap-1 text-[10px] text-pc-accent-light hover:text-[var(--pc-accent)] transition-colors"
|
className="inline-flex items-center gap-1 text-[10px] text-pc-accent-light hover:text-[var(--pc-accent)] transition-colors"
|
||||||
title="Install app"
|
title="Install app"
|
||||||
|
aria-label="Install app"
|
||||||
>
|
>
|
||||||
<Download size={11} />
|
<Download size={11} />
|
||||||
<span>Install</span>
|
<span>Install</span>
|
||||||
@@ -52,6 +53,7 @@ function SidebarFooter() {
|
|||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className="text-pc-text-faint hover:text-pc-text-secondary transition-colors"
|
className="text-pc-text-faint hover:text-pc-text-secondary transition-colors"
|
||||||
title="GitHub"
|
title="GitHub"
|
||||||
|
aria-label="GitHub repository"
|
||||||
>
|
>
|
||||||
<Globe size={11} />
|
<Globe size={11} />
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user