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.
[eikichi18]
- a11y: Added role attribute for portalMessage
[nzambello]
3.1.0 (2018-10-30)
------------------

View File

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

View File

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