media: Improve accessibility and controls
This commit is contained in:
@@ -5,12 +5,12 @@
|
||||
<select class="variant"></select>
|
||||
</div>
|
||||
<div class="bottom">
|
||||
<span class="play"></span>
|
||||
<span class="play symbol" tabindex=0 aria-label="Play / Pause" data-symbol=""></span>
|
||||
<span class="time">0:00 / 0:00</span>
|
||||
<input type="range" class="progress">
|
||||
<span class="mute"></span>
|
||||
<input type="range" class="volume">
|
||||
<span class="fullscreen"></span>
|
||||
<input type="range" class="progress" tabindex=0>
|
||||
<span class="mute symbol" tabindex=0 aria-label="Mute" data-symbol=""></span>
|
||||
<input type="range" class="volume" tabindex=0>
|
||||
<span class="fullscreen symbol" tabindex=0 aria-label="Fullscreen" data-symbol=""></span>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if include.link %}<a href="{% if include.link == true %}{{ include.url }}{% else %}{{ include.link }}{% endif %}" {% if include.caption %}alt="{{ include.caption }}"{% endif %} target="_blank">{% endif %}
|
||||
@@ -78,4 +78,4 @@
|
||||
{% if include.caption %}<figcaption>{{ include.caption }}</figcaption>{% endif %}
|
||||
{% endcapture %}
|
||||
{% if include.player %}{% assign class = include.type | append: " player" %}{% else %}{% assign class = include.type %}{% endif %}
|
||||
{% include blocks/_base.liquid type="media" class=class content=content float=include.float align=include.align id=include.id %}
|
||||
{% include blocks/_base.liquid type="media" class=class content=content float=include.float align=include.align id=include.id %}
|
||||
|
||||
Reference in New Issue
Block a user