forked from mirrors/bookwyrm
Uses actual label text in toggle button, not the word "label"
This commit is contained in:
parent
c3781e7f51
commit
8f0eb84172
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
data-controls="{{ controls_text }}{% if controls_uid %}-{{ controls_uid }}{% endif %}"
|
||||
{% if focus %}data-focus-target="{{ focus }}{% if controls_uid %}-{{ controls_uid }}{% endif %}"{% endif %}
|
||||
{% if checkbox %}data-controls-checkbox="{{ checkbox }}{% if controls_uid %}-{{ controls_uid }}{% endif %}"{% endif %}
|
||||
{% if label %}aria-label="label"{% endif %}
|
||||
{% if label %}aria-label="{{ label }}"{% endif %}
|
||||
aria-pressed="{% if pressed %}true{% else %}false{% endif %}"
|
||||
>
|
||||
|
||||
|
|
Loading…
Reference in a new issue