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

View File

@ -26,6 +26,7 @@
</h1> </h1>
<div class="portalMessage warning" <div class="portalMessage warning"
role="status"
tal:condition="not: view/moderation_enabled"> 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">