Skip to content

Commit 8dae218

Browse files
authored
Merge pull request #1451 from vojtapolasek/guide_remediation_details_a11y
make links showing remediation snippets in guides accessible
2 parents aaaf537 + 2c51b2d commit 8dae218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xsl/xccdf-share.xsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ Authors:
284284
</xsl:choose>
285285
</xsl:variable>
286286

287-
<span class="label label-success">Remediation <xsl:value-of select="$fix_type"/>:</span>&#160;&#160;&#160;<a data-toggle="collapse" data-target="#{generate-id($fix)}">(show)</a><br />
287+
<a class="btn btn-success" data-toggle="collapse" data-target="#{generate-id($fix)}" tabindex="0" role="button" aria-expanded="false" title="Activate to reveal" href="#!">Remediation <xsl:value-of select="$fix_type"/> &#8690;</a><br />
288288
<div class="panel-collapse collapse" id="{generate-id($fix)}">
289289
<xsl:if test="$fix/@complexity or $fix/@disruption or $fix/@reboot or $fix/@strategy">
290290
<table class="table table-striped table-bordered table-condensed">

0 commit comments

Comments
 (0)