A11Y: add secondary skip link to user profiles (#19926)
This commit is contained in:
parent
7ebd8a44f5
commit
1521bace4f
|
@ -1,5 +1,5 @@
|
|||
<div class="badge-title">
|
||||
<section class="user-content">
|
||||
<section class="user-content" id="user-content">
|
||||
<form class="form-horizontal">
|
||||
<div class="control-group">
|
||||
<div class="controls">
|
||||
|
|
|
@ -16,6 +16,6 @@
|
|||
<PluginOutlet @name="group-activity-bottom" @connectorTagName="li" />
|
||||
</MobileNav>
|
||||
</section>
|
||||
<section class="user-content">
|
||||
<section class="user-content" id="user-content">
|
||||
{{outlet}}
|
||||
</section>
|
|
@ -12,6 +12,6 @@
|
|||
{{/each}}
|
||||
</MobileNav>
|
||||
</section>
|
||||
<section class="user-content">
|
||||
<section class="user-content" id="user-content">
|
||||
{{outlet}}
|
||||
</section>
|
|
@ -12,6 +12,6 @@
|
|||
</li>
|
||||
</MobileNav>
|
||||
</section>
|
||||
<section class="user-content">
|
||||
<section class="user-content" id="user-content">
|
||||
{{outlet}}
|
||||
</section>
|
|
@ -1,4 +1,4 @@
|
|||
<section class="user-content">
|
||||
<section class="user-content" id="user-content">
|
||||
{{#if this.model.permissions}}
|
||||
<label class="group-category-permissions-desc">
|
||||
{{i18n "groups.permissions.description"}}
|
||||
|
|
|
@ -104,7 +104,7 @@
|
|||
</DSection>
|
||||
{{/if}}
|
||||
|
||||
<section class="user-content user-preferences">
|
||||
<section class="user-content user-preferences" id="user-content">
|
||||
<PluginOutlet
|
||||
@name="above-user-preferences"
|
||||
@tagName="span"
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
{{#if this.canInviteToForum}}
|
||||
<LoadMore
|
||||
@class="user-content"
|
||||
@id="user-content"
|
||||
@selector=".user-invite-list tr"
|
||||
@action={{action "loadMore"}}
|
||||
>
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
{{this.primaryGroup}}"
|
||||
>
|
||||
<DSection @class="user-main">
|
||||
<a href="#user-content" id="skip-link" class="skip-link__user-nav">
|
||||
{{i18n "skip_user_nav"}}
|
||||
</a>
|
||||
<section
|
||||
class="{{if this.collapsedInfo 'collapsed-info'}}
|
||||
about
|
||||
|
|
|
@ -89,6 +89,6 @@
|
|||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
<section class="user-content">
|
||||
<section class="user-content" id="user-content">
|
||||
{{outlet}}
|
||||
</section>
|
|
@ -1,4 +1,4 @@
|
|||
<DSection @pageClass="user-badges" @class="user-content">
|
||||
<DSection @pageClass="user-badges" @class="user-content" id="user-content">
|
||||
<p class="favorite-count">
|
||||
{{i18n
|
||||
"badges.favorite_count"
|
||||
|
|
|
@ -184,7 +184,7 @@
|
|||
{{/unless}}
|
||||
{{/if}}
|
||||
|
||||
<section class="user-content">
|
||||
<section class="user-content" id="user-content">
|
||||
{{#unless this.currentUser.redesigned_user_page_nav_enabled}}
|
||||
<div class="list-actions">
|
||||
{{#if this.site.mobileView}}
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
<section class="user-content">
|
||||
<section class="user-content" id="user-content">
|
||||
<LoadMore
|
||||
@class="notification-history user-stream"
|
||||
@selector=".user-stream .notification"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<DSection @pageClass="user-summary" @tagName="">
|
||||
<div class="user-content">
|
||||
<div class="user-content" id="user-content">
|
||||
<PluginOutlet
|
||||
@name="above-user-summary-stats"
|
||||
@args={{hash model=this.model user=this.user}}
|
||||
|
|
|
@ -197,6 +197,7 @@ en:
|
|||
|
||||
topic_admin_menu: "topic actions"
|
||||
skip_to_main_content: "Skip to main content"
|
||||
skip_user_nav: "Skip to profile content"
|
||||
|
||||
emails_are_disabled: "All outgoing email has been globally disabled by an administrator. No email notifications of any kind will be sent."
|
||||
emails_are_disabled_non_staff: "Outgoing email has been disabled for non-staff users."
|
||||
|
|
Loading…
Reference in New Issue