From 4973670ea1cac6aafeac3f4533c40ae0855e753e Mon Sep 17 00:00:00 2001 From: nzambello Date: Mon, 24 Dec 2018 13:24:56 +0100 Subject: [PATCH] [a11y] Added role attribute for portalMessage --- CHANGES.rst | 3 +++ plone/app/discussion/browser/controlpanel.pt | 6 ++++-- plone/app/discussion/browser/moderation.pt | 3 ++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index abce5e0..3faf481 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -18,6 +18,9 @@ Bug fixes: because in some version of FF and IE doesn't work. [eikichi18] +- a11y: Added role attribute for portalMessage + [nzambello] + 3.1.0 (2018-10-30) ------------------ diff --git a/plone/app/discussion/browser/controlpanel.pt b/plone/app/discussion/browser/controlpanel.pt index faca531..b62a447 100644 --- a/plone/app/discussion/browser/controlpanel.pt +++ b/plone/app/discussion/browser/controlpanel.pt @@ -11,7 +11,8 @@ metal:fill-slot="prefs_configlet_content">
+ role="status" + tal:condition="view/mailhost_warning"> Warning @@ -30,7 +31,8 @@
+ role="status" + tal:condition="view/custom_comment_workflow_warning"> Warning diff --git a/plone/app/discussion/browser/moderation.pt b/plone/app/discussion/browser/moderation.pt index fbe0136..797c18a 100644 --- a/plone/app/discussion/browser/moderation.pt +++ b/plone/app/discussion/browser/moderation.pt @@ -26,7 +26,8 @@
+ role="status" + tal:condition="not: view/moderation_enabled"> Warning Moderation workflow is disabled. You have to