From f3c5855fc1caaf30761f18bc0e3f0f04e7bc0aa9 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 2 Feb 2025 18:19:32 +0000 Subject: [PATCH] Some more screenreader improvements --- src/Content/Nav.php | 2 +- view/lang/C/messages.po | 14 +-- view/templates/item/compose.tpl | 8 +- view/theme/frio/js/mod_events.js | 2 +- view/theme/frio/php/default.php | 2 +- view/theme/frio/php/standard.php | 2 +- view/theme/frio/templates/admin/aside.tpl | 14 +-- view/theme/frio/templates/admin/logs/view.tpl | 2 +- .../frio/templates/calendar/calendar.tpl | 8 +- view/theme/frio/templates/common_tabs.tpl | 14 +-- view/theme/frio/templates/contact/entry.tpl | 6 +- view/theme/frio/templates/contact_edit.tpl | 20 ++-- .../frio/templates/event_stream_item.tpl | 2 +- .../frio/templates/generic_links_widget.tpl | 8 +- view/theme/frio/templates/jot.tpl | 44 ++++---- view/theme/frio/templates/media/browser.tpl | 10 +- view/theme/frio/templates/nav.tpl | 103 +++++++++--------- view/theme/frio/templates/page_tabs.tpl | 2 +- view/theme/frio/templates/photo_item.tpl | 6 +- view/theme/frio/templates/search_item.tpl | 16 +-- .../frio/templates/settings/profile/index.tpl | 8 +- .../frio/templates/threaded_conversation.tpl | 1 - view/theme/frio/templates/wall_thread.tpl | 28 ++--- 23 files changed, 162 insertions(+), 160 deletions(-) diff --git a/src/Content/Nav.php b/src/Content/Nav.php index 177a7945c2..383ec14df9 100644 --- a/src/Content/Nav.php +++ b/src/Content/Nav.php @@ -108,7 +108,7 @@ class Nav '$userinfo' => $nav_info['userinfo'], '$sel' => self::$selected, '$apps' => $this->getAppMenu(), - '$home' => $this->l10n->t('Go back'), + '$home' => $this->l10n->t('Home'), '$clear_notifs' => $this->l10n->t('Clear notifications'), '$search_hint' => $this->l10n->t('@name, !group, #tags, content') ]); diff --git a/view/lang/C/messages.po b/view/lang/C/messages.po index a9f86dc68a..903115971a 100644 --- a/view/lang/C/messages.po +++ b/view/lang/C/messages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: 2025.02-dev\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-03 21:49+0000\n" +"POT-Creation-Date: 2025-02-04 04:48+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1936,8 +1936,8 @@ msgstr "" msgid "Nothing new here" msgstr "" -#: src/Content/Nav.php:111 src/Module/Special/HTTPException.php:64 -msgid "Go back" +#: src/Content/Nav.php:111 src/Content/Nav.php:237 src/Content/Nav.php:294 +msgid "Home" msgstr "" #: src/Content/Nav.php:112 @@ -2024,10 +2024,6 @@ msgstr "" msgid "Your personal notes" msgstr "" -#: src/Content/Nav.php:237 src/Content/Nav.php:294 -msgid "Home" -msgstr "" - #: src/Content/Nav.php:237 src/Module/Settings/OAuth.php:59 msgid "Home Page" msgstr "" @@ -10756,6 +10752,10 @@ msgstr "" msgid "Possible reasons include:" msgstr "" +#: src/Module/Special/HTTPException.php:64 +msgid "Go back" +msgstr "" + #: src/Module/Special/HTTPException.php:65 msgid "Stack trace:" msgstr "" diff --git a/view/templates/item/compose.tpl b/view/templates/item/compose.tpl index 4c7bdebfdb..3f28ec3f43 100644 --- a/view/templates/item/compose.tpl +++ b/view/templates/item/compose.tpl @@ -65,7 +65,7 @@

{{if $type == 'post'}} - + @@ -81,10 +81,10 @@ {{/if}} - - + + - +

diff --git a/view/theme/frio/js/mod_events.js b/view/theme/frio/js/mod_events.js index bae61a0759..736c4d201b 100644 --- a/view/theme/frio/js/mod_events.js +++ b/view/theme/frio/js/mod_events.js @@ -218,7 +218,7 @@ function eventHoverBodyTemplate() { // The template for presenting the event location in the event hover-card function eventHoverLocationTemplate() { var template = - '\ + '\ {0}'; return template; } diff --git a/view/theme/frio/php/default.php b/view/theme/frio/php/default.php index 450d9aedc6..01bace9161 100644 --- a/view/theme/frio/php/default.php +++ b/view/theme/frio/php/default.php @@ -115,7 +115,7 @@ if ($minimal) { echo ' -
+
'; diff --git a/view/theme/frio/php/standard.php b/view/theme/frio/php/standard.php index 52f41eb0f4..31fb0dd588 100644 --- a/view/theme/frio/php/standard.php +++ b/view/theme/frio/php/standard.php @@ -65,7 +65,7 @@ include('includes/photo_side.php'); echo' -
+
'; diff --git a/view/theme/frio/templates/admin/aside.tpl b/view/theme/frio/templates/admin/aside.tpl index ba4798589d..4159076904 100644 --- a/view/theme/frio/templates/admin/aside.tpl +++ b/view/theme/frio/templates/admin/aside.tpl @@ -18,15 +18,15 @@ {{foreach $subpages as $page}} -
+
+ {{/foreach}} {{if $admin.addons_admin}} -
+
+ {{/if}} diff --git a/view/theme/frio/templates/admin/logs/view.tpl b/view/theme/frio/templates/admin/logs/view.tpl index b959a8291e..2ef960d7af 100644 --- a/view/theme/frio/templates/admin/logs/view.tpl +++ b/view/theme/frio/templates/admin/logs/view.tpl @@ -91,7 +91,7 @@