From 99861a8c10b61c78ebf874260056030a1da221eb Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sun, 4 Aug 2024 15:09:34 +0100 Subject: [PATCH 1/3] [ticket/17376] Add aria label to quote reference link Adds an aria label attribute to the quoted post reference link so that screen readers can inform the user of what the link is used for. Before this change the link was too vague and would not have been well described to users of its purpose if they couldn't see it. PHPBB-17376 --- phpBB/language/en/viewtopic.php | 1 + phpBB/styles/prosilver/template/bbcode.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/phpBB/language/en/viewtopic.php b/phpBB/language/en/viewtopic.php index e5c9be0517..9334a633d4 100644 --- a/phpBB/language/en/viewtopic.php +++ b/phpBB/language/en/viewtopic.php @@ -112,6 +112,7 @@ $lang = array_merge($lang, array( 'VIEW_INFO' => 'Post details', 'VIEW_NEXT_TOPIC' => 'Next topic', 'VIEW_PREVIOUS_TOPIC' => 'Previous topic', + 'VIEW_QUOTED_POST' => 'View quoted post', 'VIEW_RESULTS' => 'View results', 'VIEW_TOPIC_POSTS' => array( 1 => '%d post', diff --git a/phpBB/styles/prosilver/template/bbcode.html b/phpBB/styles/prosilver/template/bbcode.html index 2780d869d2..bc681ec46b 100644 --- a/phpBB/styles/prosilver/template/bbcode.html +++ b/phpBB/styles/prosilver/template/bbcode.html @@ -38,7 +38,7 @@ - + From 6623e7fe1d6cb64282cfe7f3543836d0e3d4785f Mon Sep 17 00:00:00 2001 From: Daniel James Date: Wed, 7 Aug 2024 11:36:25 +0100 Subject: [PATCH 2/3] [ticket/17376] Update quote template and change icon to FA arrow PHPBB-17376 --- phpBB/styles/prosilver/template/bbcode.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/styles/prosilver/template/bbcode.html b/phpBB/styles/prosilver/template/bbcode.html index bc681ec46b..087acce075 100644 --- a/phpBB/styles/prosilver/template/bbcode.html +++ b/phpBB/styles/prosilver/template/bbcode.html @@ -38,11 +38,11 @@ - + - + From 4a039d853fd8d7ce9dbce1e4882203349dfffc60 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Fri, 11 Oct 2024 20:13:22 +0200 Subject: [PATCH 3/3] [ticket/17376] Update default formatting test PHPBB-17376 --- tests/text_formatter/s9e/default_formatting_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/text_formatter/s9e/default_formatting_test.php b/tests/text_formatter/s9e/default_formatting_test.php index 20127204b3..97b04c2fb7 100644 --- a/tests/text_formatter/s9e/default_formatting_test.php +++ b/tests/text_formatter/s9e/default_formatting_test.php @@ -283,7 +283,7 @@ class phpbb_textformatter_s9e_default_formatting_test extends phpbb_test_case ), array( '[quote=Username post_id=123]...[/quote]', - '
Username wrote: ...
' + '
Username wrote: ...
' ), array( // Users are not allowed to submit their own URL for the post