History WebUI: Make screen readers read out that an item was deleted
Bug: 1187232
Change-Id: I69154fdfe301abbbbe28e20037cfa3bf789ab5e1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2939365
Reviewed-by: Jochen Eisinger <[email protected]>
Reviewed-by: dpapad <[email protected]>
Commit-Queue: John Lee <[email protected]>
Cr-Commit-Position: refs/heads/master@{#892218}
diff --git a/components/history_strings.grdp b/components/history_strings.grdp
index 321292b..2d9c3b3 100644
--- a/components/history_strings.grdp
+++ b/components/history_strings.grdp
@@ -83,6 +83,9 @@
<message name="IDS_HISTORY_REMOVE_PAGE" desc="Command in the history entry drop-down menu. Removes a page from the history.">
Remove from history
</message>
+ <message name="IDS_HISTORY_REMOVE_PAGE_SUCCESS" desc="Screen reader message that is read after user successfully removes one history item from the item's options menu. The message will reference the page's title.">
+ '<ph name="PAGE_TITLE">$1<ex>Google Store - My Cart</ex></ph>' deleted
+ </message>
<message name="IDS_HISTORY_REMOVE_SELECTED_ITEMS" desc="Title of the button that allows the user to remove the selected history items">
Remove selected items
</message>