Skip to content

Commit

Permalink
docs(core): corresponding labels and description for individual details
Browse files Browse the repository at this point in the history
  • Loading branch information
artolshansky committed Jun 16, 2021
1 parent bbe69ef commit 65b000d
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,13 @@
</div>
</fd-popover-control>

<fd-popover-body [attr.aria-labelledby]="person.id+'-popover-header'" role="tooltip">
<fd-popover-body
[attr.aria-labelledby]="person.id+'-popover-header'"
[attr.aria-describedby]="person.id+'-popover-subheader'"
role="tooltip">
<fd-quick-view [id]="person.id">
<fd-quick-view-title align="left" [id]="person.id+'-popover-header'">Business card</fd-quick-view-title>
<fd-quick-view-subheader>
<fd-quick-view-subheader [id]="person.id+'-popover-subheader'">
<fd-avatar *ngIf="!person.imageUrl && !person.glyph"
[circle]="true"
size="s"
Expand Down Expand Up @@ -76,8 +79,8 @@
<fd-quick-view-subheader-subtitle>{{ person.position }}</fd-quick-view-subheader-subtitle>
</fd-quick-view-subheader>

<fd-quick-view-group>
<fd-quick-view-group-title>Contact Details</fd-quick-view-group-title>
<fd-quick-view-group [attr.aria-labelledby]="person.id+'-group-title'">
<fd-quick-view-group-title [id]="person.id+'-group-title'">Contact Details</fd-quick-view-group-title>
<fd-quick-view-group-item>
<fd-quick-view-group-item-label>Phone</fd-quick-view-group-item-label>
<fd-quick-view-group-item-content>
Expand Down

0 comments on commit 65b000d

Please sign in to comment.