diff options
Diffstat (limited to '')
-rw-r--r-- | python/l10n/fluent_migrations/bug_1869389_urlbar_search_mode_indicator_close_button_addAccessibleName.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/python/l10n/fluent_migrations/bug_1869389_urlbar_search_mode_indicator_close_button_addAccessibleName.py b/python/l10n/fluent_migrations/bug_1869389_urlbar_search_mode_indicator_close_button_addAccessibleName.py new file mode 100644 index 0000000000..7374e1e0f4 --- /dev/null +++ b/python/l10n/fluent_migrations/bug_1869389_urlbar_search_mode_indicator_close_button_addAccessibleName.py @@ -0,0 +1,21 @@ +# Any copyright is dedicated to the Public Domain. +# http://creativecommons.org/publicdomain/zero/1.0/ + +from fluent.migrate.helpers import transforms_from + + +def migrate(ctx): + """Bug 1869389 - Provide urlbar-search-mode-indicator-close button with an accessible name, part {index}""" + + file = "browser/browser/browser.ftl" + ctx.add_transforms( + file, + file, + transforms_from( + """ +urlbar-search-mode-indicator-close = + .aria-label = {COPY_PATTERN(from_path, "ui-tour-info-panel-close.tooltiptext")} +""", + from_path=file, + ), + ) |