Skip to content

Commit

Permalink
[#789] Mark completed questionnaire step as aria-checked
Browse files Browse the repository at this point in the history
  • Loading branch information
Bart van der Schoor committed Jan 9, 2023
1 parent 3077575 commit 11b582d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<aside class="step-indicator" aria-label="{% trans "Stappen indicator" %}">
<ol class="step-indicator__list">
{% for step in steps %}
<li class="step-indicator__list-item{% if step.is_current %} step-indicator__list-item--active{% elif step.is_completed %} step-indicator__list-item--completed{% endif %} P" data-step={{ step.step }}>
<li class="step-indicator__list-item{% if step.is_current %} step-indicator__list-item--active{% elif step.is_completed %} step-indicator__list-item--completed{% endif %} P" data-step={{ step.step }} aria-checked="{{ step.is_completed|yesno:"true,false" }}">
{% if step.object %}
{% link href=step.object.get_absolute_url secondary=True bold=True text=step.object_display %}
{% endif %}
Expand Down

0 comments on commit 11b582d

Please sign in to comment.