From 0e765bdbdb868bb3923cda9a87cffb9ee46ba298 Mon Sep 17 00:00:00 2001 From: XLBilly Date: Mon, 12 Jan 2026 17:21:35 +0800 Subject: [PATCH] Make alert aria message translatable (#9575) * Make alerts aria message translatable * Update change notes * Update change note --- core/language/en-GB/Misc.multids | 1 + core/ui/PageTemplate/alerts.tid | 2 +- .../tiddlers/releasenotes/5.4.0/improve-alert-a11y.tid | 10 ++++++++++ 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 editions/tw5.com/tiddlers/releasenotes/5.4.0/improve-alert-a11y.tid diff --git a/core/language/en-GB/Misc.multids b/core/language/en-GB/Misc.multids index d8c091375..f792d0c8d 100644 --- a/core/language/en-GB/Misc.multids +++ b/core/language/en-GB/Misc.multids @@ -1,5 +1,6 @@ title: $:/language/ +Alerts: Alerts AboveStory/ClassicPlugin/Warning: It looks like you are trying to load a plugin designed for ~TiddlyWiki Classic. Please note that [[these plugins do not work with TiddlyWiki version 5.x.x|https://tiddlywiki.com/#TiddlyWikiClassic]]. ~TiddlyWiki Classic plugins detected: BinaryWarning/Prompt: This tiddler contains binary data ClassicWarning/Hint: This tiddler is written in TiddlyWiki Classic wiki text format, which is not fully compatible with TiddlyWiki version 5. See https://tiddlywiki.com/static/Upgrading.html for more details. diff --git a/core/ui/PageTemplate/alerts.tid b/core/ui/PageTemplate/alerts.tid index 339f64236..92fa4cdb8 100644 --- a/core/ui/PageTemplate/alerts.tid +++ b/core/ui/PageTemplate/alerts.tid @@ -1,7 +1,7 @@ title: $:/core/ui/PageTemplate/alerts tags: $:/tags/PageTemplate -
+
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Alert]!is[draft]]" template="$:/core/ui/AlertTemplate" storyview="pop"/> diff --git a/editions/tw5.com/tiddlers/releasenotes/5.4.0/improve-alert-a11y.tid b/editions/tw5.com/tiddlers/releasenotes/5.4.0/improve-alert-a11y.tid new file mode 100644 index 000000000..84bf9dade --- /dev/null +++ b/editions/tw5.com/tiddlers/releasenotes/5.4.0/improve-alert-a11y.tid @@ -0,0 +1,10 @@ +title: $:/changenotes/5.4.0/#9248 +description: Improve alert accessibility +release: 5.4.0 +tags: $:/tags/ChangeNote +change-type: enhancement +change-category: usability +github-links: https://github.com/TiddlyWiki/TiddlyWiki5/pull/9248 https://github.com/TiddlyWiki/TiddlyWiki5/pull/9575 +github-contributors: Leilei332 + +