mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ACS-10201] Snackbar content is hidden and not announced by SR (#11504)
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
<p class="adf-snackbar-message-content" data-automation-id="adf-snackbar-message-content" aria-hidden="true">
|
<p class="adf-snackbar-message-content" data-automation-id="adf-snackbar-message-content">
|
||||||
@if (data.decorativeIcon) {
|
@if (data.decorativeIcon) {
|
||||||
<mat-icon data-automation-id="adf-snackbar-decorative-icon" [adf-icon]="data.decorativeIcon" />
|
<mat-icon data-automation-id="adf-snackbar-decorative-icon" [adf-icon]="data.decorativeIcon" />
|
||||||
}
|
}
|
||||||
{{ data.message }}
|
{{ data.message }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@if (data.showAction) {
|
@if (data.showAction) {
|
||||||
<div class="adf-snackbar-message-content-action" aria-hidden="true">
|
<div class="adf-snackbar-message-content-action">
|
||||||
@if (data.actionLabel) {
|
@if (data.actionLabel) {
|
||||||
<button mat-button (click)="snackBarRef.dismissWithAction()" class="adf-snackbar-message-content-action-button"
|
<button mat-button (click)="snackBarRef.dismissWithAction()" class="adf-snackbar-message-content-action-button"
|
||||||
data-automation-id="adf-snackbar-message-content-action-button">
|
data-automation-id="adf-snackbar-message-content-action-button">
|
||||||
|
|||||||
Reference in New Issue
Block a user