Skip to content

Commit

Permalink
docs: a few minor docs improvements (#26404)
Browse files Browse the repository at this point in the history
html tags like b and i are update and add the alt attribute in the img tag

(cherry picked from commit 40df237)
  • Loading branch information
alkavats1 authored and crisbeto committed Jan 13, 2023
1 parent b882c31 commit 1cac369
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
<button (click)="openDialog()">Pick one</button>
</li>
<li *ngIf="animal">
You chose: <i>{{animal}}</i>
You chose: <em>{{animal}}</em>
</li>
</ol>
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
<!-- #enddocregion listbox -->
</div>
<p *ngIf="appointment[0]">
Your appointment is scheduled for <b>{{formatAppointment() | json}}</b>&nbsp;
Your appointment is scheduled for <strong>{{formatAppointment() | json}}</strong>&nbsp;
</p>
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<mat-card-title-group>
<mat-card-title>Shiba Inu</mat-card-title>
<mat-card-subtitle>Medium</mat-card-subtitle>
<img mat-card-md-image src="https://material.angular.io/assets/img/examples/shiba2.jpg" >
<img mat-card-md-image src="https://material.angular.io/assets/img/examples/shiba2.jpg" alt="Image of a Shiba Inu">
</mat-card-title-group>
</mat-card-header>
<mat-card-content>
Expand Down

0 comments on commit 1cac369

Please sign in to comment.