Merge pull request #145 from nzambello/nzambello_a11y_portalMessage

[a11y] Added role attribute for portalMessage
This commit is contained in:
Gil Forcada Codinachs 2019-01-05 22:20:14 +01:00 committed by GitHub
commit 5dcc6d1c65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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">