Skip to content

Commit faf8254

Browse files
smulvihillsylus
authored andcommitted
Issue #3277091 by smulvih2: Language switcher validation issue
1 parent 5f14947 commit faf8254

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/optional/block.block.languageswitcher.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ provider: null
1313
plugin: 'wxt_language_block:language_interface'
1414
settings:
1515
id: 'wxt_language_block:language_interface'
16-
label: 'WxT Language switcher'
16+
label: 'Language selection'
1717
provider: wxt_library
1818
label_display: visible
1919
wxt_theme: false

templates/block/block--wxt-language-block--language-interface.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<section{{ attributes.addClass(classes) }}>
5757
{{ title_prefix }}
5858
{% if label %}
59-
<div{{ title_attributes.addClass('hidden') }}>{{ label }}</div>
59+
<h2{{ title_attributes.addClass('wb-inv') }}>{{ label }}</h2>
6060
{% endif %}
6161
{{ title_suffix }}
6262

0 commit comments

Comments
 (0)