diff --git a/sphinx/themes/basic/static/doctools.js b/sphinx/themes/basic/static/doctools.js
index b6fba5f1e6b..86420becac7 100644
--- a/sphinx/themes/basic/static/doctools.js
+++ b/sphinx/themes/basic/static/doctools.js
@@ -196,7 +196,7 @@ var Documentation = {
$('div[id] > :header:first').each(function() {
$('').
attr('href', '#' + this.id).
- attr('title', _('Permalink to this headline')).
+ attr('title', _('Permalink to this heading')).
appendTo(this);
});
$('dt[id]').each(function() {
diff --git a/sphinx/writers/html.py b/sphinx/writers/html.py
index 55191aa1ac9..b9c4b9e24c8 100644
--- a/sphinx/writers/html.py
+++ b/sphinx/writers/html.py
@@ -434,12 +434,12 @@ def depart_title(self, node: Element) -> None:
node.parent.hasattr('ids') and node.parent['ids']):
# add permalink anchor
if close_tag.startswith('' in content)
@pytest.mark.sphinx('html', testroot='html_signaturereturn_icon')