mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-12-01 02:27:17 +01:00
Improved accessibility of content tabs
This commit is contained in:
parent
04d0b63f84
commit
c330a08bdc
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -240,7 +240,7 @@
|
|||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block scripts %}
|
{% 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 %}
|
{% for path in config.extra_javascript %}
|
||||||
<script src="{{ path | url }}"></script>
|
<script src="{{ path | url }}"></script>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -50,7 +50,7 @@ export function renderTabbedControl(
|
|||||||
const classes = `tabbed-control tabbed-control--${type}`
|
const classes = `tabbed-control tabbed-control--${type}`
|
||||||
return (
|
return (
|
||||||
<div class={classes} hidden>
|
<div class={classes} hidden>
|
||||||
<button class="tabbed-button" tabIndex={-1}></button>
|
<button class="tabbed-button" tabIndex={-1} aria-hidden="true"></button>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user