mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-11 13:56:16 +00:00
chore: remove redundancy in "View Profile" and "Game" button for screen readers
This commit is contained in:
@@ -25,7 +25,8 @@
|
||||
"queued": "{{title}} (Queued)",
|
||||
"game_has_no_executable": "Game has no executable selected",
|
||||
"sign_in": "Sign in",
|
||||
"friends": "Friends"
|
||||
"friends": "Friends",
|
||||
"aria_view_profile": "View profile"
|
||||
},
|
||||
"header": {
|
||||
"search": "Search games",
|
||||
|
||||
@@ -25,7 +25,8 @@
|
||||
"queued": "{{title}} (Na fila)",
|
||||
"game_has_no_executable": "Jogo não possui executável selecionado",
|
||||
"sign_in": "Login",
|
||||
"friends": "Amigos"
|
||||
"friends": "Amigos",
|
||||
"aria_view_profile": "Ver perfil"
|
||||
},
|
||||
"header": {
|
||||
"search": "Buscar jogos",
|
||||
|
||||
@@ -89,6 +89,7 @@ export function SidebarProfile() {
|
||||
type="button"
|
||||
className={styles.profileButton}
|
||||
onClick={handleProfileClick}
|
||||
aria-label={t("aria_view_profile")}
|
||||
>
|
||||
<div className={styles.profileButtonContent}>
|
||||
<Avatar
|
||||
|
||||
@@ -219,6 +219,7 @@ export function Sidebar() {
|
||||
type="button"
|
||||
className={styles.menuItemButton}
|
||||
onClick={(event) => handleSidebarGameClick(event, game)}
|
||||
aria-label={game.title}
|
||||
>
|
||||
{game.iconUrl ? (
|
||||
<img
|
||||
|
||||
Reference in New Issue
Block a user