From 77f0e2c2f8023c65a4c5e8d39a6a14cfdee13997 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joaqu=C3=ADn=20S=C3=A1nchez?= Date: Sun, 21 Apr 2024 09:14:12 +0200 Subject: [PATCH] feat(a11y): add semantic markup to preference settings (#2811) --- pages/settings/preferences/index.vue | 324 ++++++++++++++------------- 1 file changed, 167 insertions(+), 157 deletions(-) diff --git a/pages/settings/preferences/index.vue b/pages/settings/preferences/index.vue index b0d6d235..c0d7be72 100644 --- a/pages/settings/preferences/index.vue +++ b/pages/settings/preferences/index.vue @@ -15,162 +15,172 @@ const userSettings = useUserSettings() {{ $t('settings.preferences.label') }} - - {{ $t('settings.preferences.hide_alt_indi_on_posts') }} - - - {{ $t('settings.preferences.hide_gif_indi_on_posts') }} - - - {{ $t('settings.preferences.hide_account_hover_card') }} - - - {{ $t('settings.preferences.hide_tag_hover_card') }} - - - {{ $t('settings.preferences.enable_autoplay') }} - - - {{ $t('settings.preferences.optimize_for_low_performance_device') }} - - - {{ $t("settings.preferences.enable_data_saving") }} - - - - {{ $t('settings.preferences.enable_pinch_to_zoom') }} - - - {{ $t('settings.preferences.use_star_favorite_icon') }} - -

-
- {{ $t('settings.preferences.wellbeing') }} -

- - {{ $t('settings.preferences.grayscale_mode') }} - - - {{ $t('settings.preferences.hide_boost_count') }} - - - {{ $t('settings.preferences.hide_favorite_count') }} - - - {{ $t('settings.preferences.hide_reply_count') }} - - - {{ $t('settings.preferences.hide_follower_count') }} - - - {{ $t("settings.preferences.hide_username_emojis") }} - - - - {{ $t("settings.preferences.hide_news") }} - - - {{ $t("settings.preferences.zen_mode") }} - - -

-
- {{ $t('settings.preferences.title') }} -

- - - {{ $t('settings.preferences.embedded_media') }} - - - - {{ $t('settings.preferences.virtual_scroll') }} - - - - {{ $t('settings.preferences.github_cards') }} - - - - {{ $t('settings.preferences.user_picker') }} - - +
+

+

+ + {{ $t('settings.preferences.hide_alt_indi_on_posts') }} + + + {{ $t('settings.preferences.hide_gif_indi_on_posts') }} + + + {{ $t('settings.preferences.hide_account_hover_card') }} + + + {{ $t('settings.preferences.hide_tag_hover_card') }} + + + {{ $t('settings.preferences.enable_autoplay') }} + + + {{ $t('settings.preferences.optimize_for_low_performance_device') }} + + + {{ $t("settings.preferences.enable_data_saving") }} + + + + {{ $t('settings.preferences.enable_pinch_to_zoom') }} + + + {{ $t('settings.preferences.use_star_favorite_icon') }} + +
+
+

+

+ + {{ $t('settings.preferences.grayscale_mode') }} + + + {{ $t('settings.preferences.hide_boost_count') }} + + + {{ $t('settings.preferences.hide_favorite_count') }} + + + {{ $t('settings.preferences.hide_reply_count') }} + + + {{ $t('settings.preferences.hide_follower_count') }} + + + {{ $t("settings.preferences.hide_username_emojis") }} + + + + {{ $t("settings.preferences.hide_news") }} + + + {{ $t("settings.preferences.zen_mode") }} + + +
+
+

+

+ + + {{ $t('settings.preferences.embedded_media') }} + + + + {{ $t('settings.preferences.virtual_scroll') }} + + + + {{ $t('settings.preferences.github_cards') }} + + + + {{ $t('settings.preferences.user_picker') }} + + +