mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
chore: remove redundancy in "View Profile" and "Game" button for screen readers
This commit is contained in:
parent
3ff15d2d61
commit
79763b6072
4 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue