Skip to content

Commit

Permalink
docs: improved code smells (#27185)
Browse files Browse the repository at this point in the history
* docs: improved code smells

* alt description updated

(cherry picked from commit fee78c5)
  • Loading branch information
aanchal88 authored and crisbeto committed Jun 7, 2023
1 parent f595c78 commit 5b6d0bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/dev-app/card/card-demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</mat-card>

<mat-card [appearance]="appearance">
<img mat-card-image src="https://material.angularjs.org/latest/img/washedout.png">
<img mat-card-image src="https://material.angularjs.org/latest/img/washedout.png" alt="Para Washed Out">
<mat-card-header>
<mat-card-title>Content Title</mat-card-title>
</mat-card-header>
Expand All @@ -63,7 +63,7 @@
<mat-card-title>Header title</mat-card-title>
<mat-card-subtitle>Header subtitle</mat-card-subtitle>
</mat-card-header>
<img mat-card-image src="https://material.angularjs.org/latest/img/washedout.png">
<img alt="Para Washed Out" mat-card-image src="https://material.angularjs.org/latest/img/washedout.png">
<mat-card-content>
<p>Here is some content</p>
</mat-card-content>
Expand Down Expand Up @@ -140,7 +140,7 @@ <h2>Cards with media area</h2>
<mat-card-title>Header title</mat-card-title>
<mat-card-subtitle>Header subtitle</mat-card-subtitle>
</mat-card-header>
<img mat-card-image src="https://material.angularjs.org/latest/img/washedout.png">
<img alt="Para Washed Out" mat-card-image src="https://material.angularjs.org/latest/img/washedout.png">
<mat-card-content>
<p>Here is some content</p>
</mat-card-content>
Expand Down
1 change: 0 additions & 1 deletion src/material/bottom-sheet/bottom-sheet-container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {CdkDialogContainer, DialogConfig} from '@angular/cdk/dialog';
import {FocusMonitor, FocusTrapFactory, InteractivityChecker} from '@angular/cdk/a11y';
import {BreakpointObserver, Breakpoints} from '@angular/cdk/layout';
import {OverlayRef} from '@angular/cdk/overlay';
import {_getFocusedElementPierceShadowDom} from '@angular/cdk/platform';
import {DOCUMENT} from '@angular/common';
import {
ChangeDetectionStrategy,
Expand Down

0 comments on commit 5b6d0bd

Please sign in to comment.