mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ACS-10323] a11y fix - Adding/removing favorites are not announced by SR (#5002)
* [ACS-10323] a11y fix - Adding/removing favorites are not announced by screen readers * fix unit test * [ACS-10323] cr fixes
This commit is contained in:
@@ -63,7 +63,8 @@ export class DeleteNodesAction implements Action {
|
||||
|
||||
constructor(
|
||||
public payload: NodeEntry[] = [],
|
||||
public allowUndo = true
|
||||
public allowUndo = true,
|
||||
public configuration?: ModalConfiguration
|
||||
) {}
|
||||
}
|
||||
|
||||
@@ -76,13 +77,19 @@ export class UndoDeleteNodesAction implements Action {
|
||||
export class RestoreDeletedNodesAction implements Action {
|
||||
readonly type = NodeActionTypes.RestoreDeleted;
|
||||
|
||||
constructor(public payload: Array<NodeEntry>) {}
|
||||
constructor(
|
||||
public payload: Array<NodeEntry>,
|
||||
public configuration?: ModalConfiguration
|
||||
) {}
|
||||
}
|
||||
|
||||
export class PurgeDeletedNodesAction implements Action {
|
||||
readonly type = NodeActionTypes.PurgeDeleted;
|
||||
|
||||
constructor(public payload: Array<NodeEntry>) {}
|
||||
constructor(
|
||||
public payload: Array<NodeEntry>,
|
||||
public configuration?: ModalConfiguration
|
||||
) {}
|
||||
}
|
||||
|
||||
export class DownloadNodesAction implements Action {
|
||||
@@ -183,13 +190,19 @@ export class UnlockWriteAction implements Action {
|
||||
export class AddFavoriteAction implements Action {
|
||||
readonly type = NodeActionTypes.AddFavorite;
|
||||
|
||||
constructor(public payload: Array<NodeEntry>) {}
|
||||
constructor(
|
||||
public payload: Array<NodeEntry>,
|
||||
public configuration?: ModalConfiguration
|
||||
) {}
|
||||
}
|
||||
|
||||
export class RemoveFavoriteAction implements Action {
|
||||
readonly type = NodeActionTypes.RemoveFavorite;
|
||||
|
||||
constructor(public payload: Array<NodeEntry>) {}
|
||||
constructor(
|
||||
public payload: Array<NodeEntry>,
|
||||
public configuration?: ModalConfiguration
|
||||
) {}
|
||||
}
|
||||
export class ManageAspectsAction implements Action {
|
||||
readonly type = NodeActionTypes.ChangeAspects;
|
||||
|
||||
Reference in New Issue
Block a user