fix(app): hide decorative country and region flags from screen readers (#1917)

This commit is contained in:
Hampus authored and GitHub committed 2026-08-24 12:45:13 +02:00
1 parent 9efd2b0a73
commit 37f46fc62d
5 files changed
+5

No files matched your search

@@ -99,6 +99,7 @@ const renderCountryOption = (option: CountrySelectOption) => {
<img
src={flagUrl}
alt={countryName}
aria-hidden={true}
className={styles.flagImage}
data-flx="user.phone-add-modal.country-option.flag-image"
/>
@@ -198,6 +198,7 @@ export const LanguageSelector = observer(function LanguageSelector({
<img
src={flagUrl}
alt={`${option.name} flag`}
aria-hidden={true}
className={styles.flagImage}
draggable={false}
data-flx="user.language-selector.render-language-content.flag-image"