[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. because in some version of FF and IE doesn't work.
[eikichi18] [eikichi18]
- a11y: Added role attribute for portalMessage
[nzambello]
3.1.0 (2018-10-30) 3.1.0 (2018-10-30)
------------------ ------------------

View File

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

View File

@ -26,7 +26,8 @@
</h1> </h1>
<div class="portalMessage warning" <div class="portalMessage warning"
tal:condition="not: view/moderation_enabled"> role="status"
tal:condition="not: view/moderation_enabled">
<strong i18n:translate="">Warning</strong> <strong i18n:translate="">Warning</strong>
<span tal:omit-tag="" i18n:translate="message_moderation_disabled"> <span tal:omit-tag="" i18n:translate="message_moderation_disabled">
Moderation workflow is disabled. You have to Moderation workflow is disabled. You have to