1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-30 18:24:35 +01:00

Improved accessibility of content tabs

This commit is contained in:
squidfunk 2023-02-02 09:32:05 +01:00
parent 04d0b63f84
commit c330a08bdc
4 changed files with 6 additions and 6 deletions

View File

@ -240,7 +240,7 @@
</script>
{% endblock %}
{% block scripts %}
<script src="{{ 'assets/javascripts/bundle.a00a7c5e.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.6bd5f0ae.min.js' | url }}"></script>
{% for path in config.extra_javascript %}
<script src="{{ path | url }}"></script>
{% endfor %}

View File

@ -50,7 +50,7 @@ export function renderTabbedControl(
const classes = `tabbed-control tabbed-control--${type}`
return (
<div class={classes} hidden>
<button class="tabbed-button" tabIndex={-1}></button>
<button class="tabbed-button" tabIndex={-1} aria-hidden="true"></button>
</div>
)
}