Skip to content

Commit

Permalink
Exclue snackbar from screen reader (#8199)
Browse files Browse the repository at this point in the history
  • Loading branch information
jatin2008 authored Jan 27, 2023
1 parent 266d3aa commit efb2558
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p class="adf-snackbar-message-content" data-automation-id="adf-snackbar-message-content">{{ data.message }}</p>
<div *ngIf="data.showAction" class="adf-snackbar-message-content-action">
<p class="adf-snackbar-message-content" data-automation-id="adf-snackbar-message-content" aria-hidden="true">{{ data.message }}</p>
<div *ngIf="data.showAction" class="adf-snackbar-message-content-action" aria-hidden="true">
<button mat-button (click)="snackBarRef.dismissWithAction()" *ngIf="data.actionLabel" class="adf-snackbar-message-content-action-button"
data-automation-id="adf-snackbar-message-content-action-button">
{{data.actionLabel}}
Expand Down

0 comments on commit efb2558

Please sign in to comment.