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:
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>
|
||||
{% 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 %}
|
||||
|
@ -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>
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user