feat: add tooltip and screen reader support to sidebar resize button

This commit is contained in:
cj-do-gta-sander 2024-10-24 11:50:01 -03:00
parent 455016c1a7
commit 2a6346cb69
3 changed files with 5 additions and 2 deletions

View File

@ -26,7 +26,8 @@
"game_has_no_executable": "Game has no executable selected",
"sign_in": "Sign in",
"friends": "Friends",
"aria_view_profile": "View profile"
"aria_view_profile": "View profile",
"resize_sidebar": "Resize sidebar"
},
"header": {
"search": "Search games",

View File

@ -26,7 +26,8 @@
"game_has_no_executable": "Jogo não possui executável selecionado",
"sign_in": "Login",
"friends": "Amigos",
"aria_view_profile": "Ver perfil"
"aria_view_profile": "Ver perfil",
"resize_sidebar": "Redimensionar barra lateral"
},
"header": {
"search": "Buscar jogos",

View File

@ -267,6 +267,7 @@ export function Sidebar() {
className={styles.handle}
onMouseDown={handleMouseDown}
onKeyDown={handleKeyDown}
title={t("resize_sidebar")}
/>
</aside>
);