{include file='formError'}
-<p class="warning">{lang}wcf.user.accountManagement.warning{/lang}</p>
+<p class="warning" role="status">{lang}wcf.user.accountManagement.warning{/lang}</p>
{if $success|isset && $success|count > 0}
- <div class="success">
+ <div class="success" role="status">
{foreach from=$success item=successMessage}
<p>{lang}{@$successMessage}{/lang}</p>
{/foreach}
{include file='formError'}
{if $success|isset}
- <p class="success">{lang}wcf.global.success.{$action}{/lang}</p>
+ <p class="success" role="status">{lang}wcf.global.success.{$action}{/lang}</p>
{/if}
{if $action == 'edit'}
<p class="info jsArticleNoticeTrash"{if !$article->isDeleted} style="display: none;"{/if}>{lang}wcf.acp.article.trash.notice{/lang}</p>
- {if $lastVersion}<p class="info">{lang}wcf.acp.article.lastVersion{/lang}</p>{/if}
+ {if $lastVersion}<p class="info" role="status">{lang}wcf.acp.article.lastVersion{/lang}</p>{/if}
{/if}
<form class="articleAddForm" method="post" action="{if $action == 'add'}{link controller='ArticleAdd'}{/link}{else}{link controller='ArticleEdit' id=$articleID}{/link}{/if}">
{include file='articleListItems'}
</div>
{else}
- <p class="info">{lang}wcf.global.noItems{/lang}</p>
+ <p class="info" role="status">{lang}wcf.global.noItems{/lang}</p>
{/if}
<footer class="contentFooter">
{include file='header' __disableAds=true __sidebarLeftHasMenu=true}
{if $__wcf->user->disableAvatar}
- <p class="error">{lang}wcf.user.avatar.error.disabled{/lang}</p>
+ <p class="error" role="alert">{lang}wcf.user.avatar.error.disabled{/lang}</p>
{/if}
{include file='formError'}
{if $success|isset}
- <p class="success">{lang}wcf.global.success.edit{/lang}</p>
+ <p class="success" role="status">{lang}wcf.global.success.edit{/lang}</p>
{/if}
<form method="post" action="{link controller='AvatarEdit'}{/link}" id="avatarForm">
{include file='articleListItems'}
</div>
{else}
- <p class="info">{lang}wcf.global.noItems{/lang}</p>
+ <p class="info" role="status">{lang}wcf.global.noItems{/lang}</p>
{/if}
<footer class="contentFooter">
{/foreach}
</ol>
{else}
- <p class="info">{lang}wcf.global.noItems{/lang}</p>
+ <p class="info" role="status">{lang}wcf.global.noItems{/lang}</p>
{/if}
</div>
</div>
{if $items}
{include file=$resultListTemplateName application=$resultListApplication}
{else}
- <p class="info">{lang}wcf.tagging.taggedObjects.noResults{/lang}</p>
+ <p class="info" role="status">{lang}wcf.tagging.taggedObjects.noResults{/lang}</p>
{/if}
<footer class="contentFooter">
{if $items}
{include file=$resultListTemplateName application=$resultListApplication}
{else}
- <p class="info">{lang}wcf.global.noItems{/lang}</p>
+ <p class="info" role="status">{lang}wcf.global.noItems{/lang}</p>
{/if}
<footer class="contentFooter">
{/hascontent}
</footer>
{else}
- <p class="info">{lang}wcf.user.following.noUsers{/lang}</p>
+ <p class="info" role="status">{lang}wcf.user.following.noUsers{/lang}</p>
{/if}
<script data-relocate="true">
{event name='pageFooterStickyNotice'}
<noscript>
- <div class="info">
+ <div class="info" role="status">
<div class="layoutBoundary">
<span class="javascriptDisabledWarningText">{lang}wcf.page.javascriptDisabled{/lang}</span>
</div>
{if !$errorField|empty}
{if ($errorField|is_array && $errorField[__securityToken]|isset) || $errorField == '__securityToken'}
- <p class="error">{lang}wcf.global.form.error.securityToken{/lang}</p>
+ <p class="error" role="alert">{lang}wcf.global.form.error.securityToken{/lang}</p>
{else}
- <p class="error">{lang}wcf.global.form.error{/lang}</p>
+ <p class="error" role="alert">{lang}wcf.global.form.error{/lang}</p>
{/if}
{/if}
\ No newline at end of file
{/hascontent}
</footer>
{else}
- <p class="info">{lang}wcf.user.ignoredUsers.noUsers{/lang}</p>
+ <p class="info" role="status">{lang}wcf.user.ignoredUsers.noUsers{/lang}</p>
{/if}
<script data-relocate="true">
{include file='header' __disableLoginLink=true __disableAds=true}
-{if $forceLoginRedirect}<p class="info">{lang}wcf.user.login.forceLogin{/lang}</p>{/if}
+{if $forceLoginRedirect}<p class="info" role="status">{lang}wcf.user.login.forceLogin{/lang}</p>{/if}
{if !$errorField|empty && $errorField == 'cookie'}
- <p class="error">{lang}wcf.user.login.error.cookieRequired{/lang}</p>
+ <p class="error" role="alert">{lang}wcf.user.login.error.cookieRequired{/lang}</p>
{else}
{include file='formError'}
{/if}
{include file='header' __disableAds=true}
-<p class="info">{lang}wcf.user.lostPassword.description{/lang}</p>
+<p class="info" role="status">{lang}wcf.user.lostPassword.description{/lang}</p>
{include file='formError'}
</form>
</div>
{else}
- <p class="info">{lang}wcf.user.members.noMembers{/lang}</p>
+ <p class="info" role="status">{lang}wcf.user.members.noMembers{/lang}</p>
{/if}
<footer class="contentFooter">
{/hascontent}
</footer>
{else}
- <p class="info">{lang}wcf.global.noItems{/lang}</p>
+ <p class="info" role="status">{lang}wcf.global.noItems{/lang}</p>
{/if}
<script data-relocate="true">
{if $alreadyReported}
- <p class="info">{lang}wcf.moderation.report.alreadyReported{/lang}</p>
+ <p class="info" role="status">{lang}wcf.moderation.report.alreadyReported{/lang}</p>
{else}
<section class="section">
<h2 class="sectionTitle">{lang}wcf.moderation.report.reason{/lang}</h2>
{include file='formError'}
-<p class="info">{lang}wcf.user.newPassword.info{/lang}</p>
+<p class="info" role="status">{lang}wcf.user.newPassword.info{/lang}</p>
<form method="post" action="{link controller='NewPassword'}{/link}">
<div class="section">
{/hascontent}
</footer>
{else}
- <p class="info">{lang}wcf.user.notification.noNotifications{/lang}</p>
+ <p class="info" role="status">{lang}wcf.user.notification.noNotifications{/lang}</p>
{/if}
<script data-relocate="true">
{include file='formError'}
{if $success|isset}
- <p class="success">{lang}wcf.global.success.edit{/lang}</p>
+ <p class="success" role="status">{lang}wcf.global.success.edit{/lang}</p>
{/if}
<form method="post" action="{link controller='NotificationSettings'}{/link}" id="notificationSettings">
{include file='header' skipBreadcrumbs=true}
-<div class="warning">
+<div class="warning" role="status">
<p><strong>{lang}wcf.page.offline{/lang}</strong></p>
<p>{if OFFLINE_MESSAGE_ALLOW_HTML}{@OFFLINE_MESSAGE|language}{else}{@OFFLINE_MESSAGE|language|newlineToBreak}{/if}</p>
</div>
{/if}
{if !$subscriptions|count && !$userSubscriptions|count}
- <p class="info">{lang}wcf.global.noItems{/lang}</p>
+ <p class="info" role="status">{lang}wcf.global.noItems{/lang}</p>
{/if}
<footer class="contentFooter">
{/hascontent}
</footer>
{else}
- <p class="info">{lang}wcf.user.recentActivity.noEntries{/lang}</p>
+ <p class="info" role="status">{lang}wcf.user.recentActivity.noEntries{/lang}</p>
{/if}
<script data-relocate="true">
{include file='header' __disableLoginLink=true __disableAds=true}
{if $isExternalAuthentication}
- <p class="info">{lang}wcf.user.3rdparty.{$__wcf->session->getVar('__3rdPartyProvider')}.register{/lang}</p>
+ <p class="info" role="status">{lang}wcf.user.3rdparty.{$__wcf->session->getVar('__3rdPartyProvider')}.register{/lang}</p>
{/if}
{include file='formError'}
{include file='header' __disableAds=true}
-{if $__wcf->user->userID && $__wcf->user->activationCode}<p class="info">{lang}wcf.user.registerActivation.info{/lang}</p>{/if}
+{if $__wcf->user->userID && $__wcf->user->activationCode}<p class="info" role="status">{lang}wcf.user.registerActivation.info{/lang}</p>{/if}
{include file='formError'}
{include file='formError'}
{if $errorMessage|isset}
- <p class="error">{@$errorMessage}</p>
+ <p class="error" role="alert">{@$errorMessage}</p>
{/if}
<form method="post" action="{link controller='Search'}{/link}">
{include file='formError'}
{if $success|isset}
- <p class="success">{lang}wcf.global.success.edit{/lang}</p>
+ <p class="success" role="status">{lang}wcf.global.success.edit{/lang}</p>
{/if}
<form method="post" action="{link controller='Settings'}{/link}">
{include file='formError'}
{if $success|isset}
- <p class="success">{lang}wcf.global.success.edit{/lang}</p>
+ <p class="success" role="status">{lang}wcf.global.success.edit{/lang}</p>
{/if}
{if $__wcf->user->disableSignature}
- <p class="error">{lang}wcf.user.signature.error.disabled{/lang}</p>
+ <p class="error" role="alert">{lang}wcf.user.signature.error.disabled{/lang}</p>
{/if}
<form method="post" action="{link controller='SignatureEdit'}{/link}">
{include file='formError'}
{if $errorMessage|isset}
- <p class="error">{@$errorMessage}</p>
+ <p class="error" role="alert">{@$errorMessage}</p>
{/if}
<form method="post" action="{link controller='TagSearch'}{/link}">
{if $items}
{include file=$resultListTemplateName application=$resultListApplication}
{else}
- <p class="info">{lang}wcf.tagging.taggedObjects.noResults{/lang}</p>
+ <p class="info" role="status">{lang}wcf.tagging.taggedObjects.noResults{/lang}</p>
{/if}
<footer class="contentFooter">
{/foreach}
</ol>
{else}
- <p class="info">{lang}wcf.global.noItems{/lang}</p>
+ <p class="info" role="status">{lang}wcf.global.noItems{/lang}</p>
{/if}
<footer class="contentFooter">
{/foreach}
</ol>
{else}
- <p class="info">{lang}wcf.global.noItems{/lang}</p>
+ <p class="info" role="status">{lang}wcf.global.noItems{/lang}</p>
{/if}
</div>
</div>
{include file='articleListItems'}
</div>
{else}
- <p class="info">{lang}wcf.global.noItems{/lang}</p>
+ <p class="info" role="status">{lang}wcf.global.noItems{/lang}</p>
{/if}
<footer class="contentFooter">
{/foreach}
</div>
{else}
- <p class="info">{lang}wcf.user.profile.protected{/lang}</p>
+ <p class="info" role="status">{lang}wcf.user.profile.protected{/lang}</p>
{/if}
{if MODULE_USER_COVER_PHOTO && ($user->userID == $__wcf->user->userID || $user->canEdit())}
{if $__wcf->getSession()->getPermission('user.profile.coverPhoto.canUploadCoverPhoto')}
<div id="userProfileCoverPhotoUpload" class="jsStaticDialogContent" data-title="{lang}wcf.user.coverPhoto.upload{/lang}">
{if $__wcf->user->disableCoverPhoto}
- <p class="error">{lang}wcf.user.coverPhoto.error.disabled{/lang}</p>
+ <p class="error" role="alert">{lang}wcf.user.coverPhoto.error.disabled{/lang}</p>
{else}
<div id="coverPhotoUploadPreview"></div>
</ol>
</div>
{else}
- <p class="info">{lang}wcf.global.noItems{/lang}</p>
+ <p class="info" role="status">{lang}wcf.global.noItems{/lang}</p>
{/if}
<script data-relocate="true">
{capture assign='__userNotice'}
{if OFFLINE && $__wcf->session->getPermission('admin.general.canViewPageDuringOfflineMode')}
- <div class="warning">
+ <div class="warning" role="status">
<p><strong>{lang}wcf.page.offline{/lang}</strong></p>
<div>{if OFFLINE_MESSAGE_ALLOW_HTML}{@OFFLINE_MESSAGE|language}{else}{@OFFLINE_MESSAGE|language|newlineToBreak}{/if}</div>
</div>
{/if}
{if $__wcf->session->getPermission('admin.configuration.package.canUpdatePackage') && $__wcf->getAvailableUpdates() && SHOW_UPDATE_NOTICE_FRONTEND}
- <p class="info">{lang}wcf.page.availableUpdates{/lang}</p>
+ <p class="info" role="status">{lang}wcf.page.availableUpdates{/lang}</p>
{/if}
{if $__wcf->user->activationCode && REGISTER_ACTIVATION_METHOD == 1 && $templateName != 'registerActivation' && $templateName != 'register' && $templateName != 'redirect'}
- <p class="warning">{lang}wcf.user.register.needActivation{/lang}</p>
+ <p class="warning" role="status">{lang}wcf.user.register.needActivation{/lang}</p>
{/if}
{hascontent}
{content}
{foreach from=$__wcf->getNoticeHandler()->getVisibleNotices() item='notice'}
- <div class="{$notice->cssClassName} notice{if $notice->isDismissible} noticeDismissible active{/if}">
+ <div class="{$notice->cssClassName} notice{if $notice->isDismissible} noticeDismissible active{/if}" role="status">
{if $notice->isDismissible}
- <span class="icon icon16 fa-times pointer jsDismissNoticeButton jsTooltip" data-object-id="{$notice->noticeID}" title="{lang}wcf.notice.button.dismiss{/lang}"></span>
+ <span role="button" tabindex="0" class="icon icon16 fa-times pointer jsDismissNoticeButton jsTooltip" data-object-id="{$notice->noticeID}" title="{lang}wcf.notice.button.dismiss{/lang}"></span>
{/if}
{@$notice}
{/content}
{hascontentelse}
<div class="section">
- <p class="info">{lang}wcf.user.profile.content.about.noPublicData{/lang}</p>
+ <p class="info" role="status">{lang}wcf.user.profile.content.about.noPublicData{/lang}</p>
</div>
{/hascontent}
{include file='header'}
{if $errorField == 'search'}
- <p class="error">{lang}wcf.user.search.error.noMatches{/lang}</p>
+ <p class="error" role="alert">{lang}wcf.user.search.error.noMatches{/lang}</p>
{else}
{include file='formError'}
{/if}
{include file='articleListItems'}
</div>
{else}
- <p class="info">{lang}wcf.global.noItems{/lang}</p>
+ <p class="info" role="status">{lang}wcf.global.noItems{/lang}</p>
{/if}
<footer class="contentFooter">