mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Added aria-label to language selector button (#2725)
This commit is contained in:
parent
42500aafa2
commit
2a5ba14ebe
@ -45,7 +45,7 @@
|
||||
<div class="md-header__option">
|
||||
<div class="md-select">
|
||||
{% set icon = config.theme.icon.alternate or "material/translate" %}
|
||||
<button class="md-header__button md-icon">
|
||||
<button class="md-header__button md-icon" aria-label="{{ lang.t('language.select') }}">
|
||||
{% include ".icons/" ~ icon ~ ".svg" %}
|
||||
</button>
|
||||
<div class="md-select__inner">
|
||||
|
@ -11,6 +11,7 @@
|
||||
"footer.next": "Next",
|
||||
"footer.title": "Footer",
|
||||
"header.title": "Header",
|
||||
"language.select": "Select language",
|
||||
"meta.comments": "Comments",
|
||||
"meta.source": "Source",
|
||||
"nav.title": "Navigation",
|
||||
|
@ -103,7 +103,7 @@
|
||||
<div class="md-header__option"></form>
|
||||
<div class="md-select">
|
||||
{% set icon = config.theme.icon.alternate or "material/translate" %}
|
||||
<button class="md-header__button md-icon">
|
||||
<button class="md-header__button md-icon" aria-label="{{ lang.t('language.select') }}"">
|
||||
{% include ".icons/" ~ icon ~ ".svg" %}
|
||||
</button>
|
||||
<div class="md-select__inner">
|
||||
|
@ -31,6 +31,7 @@
|
||||
"footer.next": "Next",
|
||||
"footer.title": "Footer",
|
||||
"header.title": "Header",
|
||||
"language.select": "Select language",
|
||||
"meta.comments": "Comments",
|
||||
"meta.source": "Source",
|
||||
"nav.title": "Navigation",
|
||||
|
Loading…
Reference in New Issue
Block a user