[WEB-4166] chore: projects app sidebar accessibility (#7115)

* chore: add ARIA attributes

* chore: add missing translations

* chore: add accessibility translations for multiple languages and configured store according to it

* chore: refactor translation file handling and introduce TranslationFiles enum

* fix: accessibility issues in workspace sidebar

---------

Co-authored-by: JayashTripathy <jayashtripathy371@gmail.com>
Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
This commit is contained in:
Aaryan Khandelwal 2025-05-28 00:58:22 +05:30 committed by GitHub
parent b4bc49971c
commit a3a580923c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
43 changed files with 777 additions and 170 deletions

View file

@ -160,7 +160,7 @@ export const Avatar: React.FC<Props> = (props) => {
color: fallbackTextColor ?? "#ffffff",
}}
>
{name ? name[0].toUpperCase() : fallbackText ?? "?"}
{name?.[0]?.toUpperCase() ?? fallbackText ?? "?"}
</div>
)}
</div>