[a11y] Added role attribute for portalMessage

This commit is contained in:
nzambello 2018-12-24 13:24:56 +01:00
parent b7fe86c4ed
commit 4973670ea1
3 changed files with 9 additions and 3 deletions

View File

@ -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)
------------------

View File

@ -11,6 +11,7 @@
metal:fill-slot="prefs_configlet_content">
<div class="portalMessage warning"
role="status"
tal:condition="view/mailhost_warning">
<strong i18n:translate="">
Warning
@ -30,6 +31,7 @@
</div>
<div class="portalMessage warning"
role="status"
tal:condition="view/custom_comment_workflow_warning">
<strong i18n:translate="">
Warning

View File

@ -26,6 +26,7 @@
</h1>
<div class="portalMessage warning"
role="status"
tal:condition="not: view/moderation_enabled">
<strong i18n:translate="">Warning</strong>
<span tal:omit-tag="" i18n:translate="message_moderation_disabled">