A11Y: usernames aren't a meaningful heading (#20623)
This commit is contained in:
parent
19b0dbe59d
commit
88004873ec
|
@ -116,7 +116,7 @@
|
||||||
<UserProfileAvatar @user={{this.model}} @tagName="" />
|
<UserProfileAvatar @user={{this.model}} @tagName="" />
|
||||||
<div class="primary-textual">
|
<div class="primary-textual">
|
||||||
<div class="user-profile-names">
|
<div class="user-profile-names">
|
||||||
<h1
|
<div
|
||||||
class="{{if this.nameFirst 'full-name' 'username'}}
|
class="{{if this.nameFirst 'full-name' 'username'}}
|
||||||
user-profile-names__primary"
|
user-profile-names__primary"
|
||||||
>
|
>
|
||||||
|
@ -129,7 +129,7 @@
|
||||||
{{#if this.model.status}}
|
{{#if this.model.status}}
|
||||||
<UserStatusMessage @status={{this.model.status}} />
|
<UserStatusMessage @status={{this.model.status}} />
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</h1>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="{{if this.nameFirst 'username' 'full-name'}}
|
class="{{if this.nameFirst 'username' 'full-name'}}
|
||||||
user-profile-names__secondary"
|
user-profile-names__secondary"
|
||||||
|
|
|
@ -781,6 +781,10 @@
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
}
|
}
|
||||||
|
.user-status-message {
|
||||||
|
display: inline-flex;
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-profile-names__secondary {
|
.user-profile-names__secondary {
|
||||||
|
|
Loading…
Reference in New Issue