Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ protected function render_linear(Linear $component, RendererInterface $default_r

if ($index === $component->getActive()) {
$tpl->touchBlock('active');
$tpl->touchBlock('active_aria');
$component = $component->withAdditionalOnLoadCode(
fn($id) => "
window.requestAnimationFrame(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h3 class="il-workflow-title">{TITLE}</h3>
">

<div class="text">
<span class="il-workflow-step-label">{LABEL}</span>
<span class="il-workflow-step-label" <!-- BEGIN active_aria -->aria-current="step"<!-- END active_aria -->>{LABEL}</span>
<span class="il-workflow-step-description">{DESCRIPTION}</span>
</div>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public function testLinearWorkflowRendering(): void
</li>
<li class="il-workflow-step last active not-started">
<div class="text">
<span class="il-workflow-step-label"></span>
<span class="il-workflow-step-label" aria-current="step"></span>
<span class="il-workflow-step-description"></span>
</div>
</li>
Expand Down