blob: 7374e1e0f41b6f0c67b5c5ca1cc85764083fa954 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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,
),
)
|