Skip to content

Commit

Permalink
SHIBUI-1444 Added xml code region to tab order
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Nov 12, 2019
1 parent 203f03d commit 59b3941
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@ <h2 class="mb-4" [ngSwitch]="type$ | async">
</div>
</div>
<div class="px-3 my-3">
<pre class="border p-2 bg-light rounded"><code>{{ xml$ | async }}</code></pre>
<figure role="img" aria-labelledby="pre-caption" tabindex="0">
<pre class="border p-2 bg-light rounded"><code>{{ xml$ | async }}</code></pre>
<figcaption id="pre-caption" class="sr-only">
{{ xml$ | async }}
</figcaption>
</figure>

<button type="button" class="btn btn-primary" (click)="preview()">
<i class="fa fa-fw fa-save"></i>
<translate-i18n key="action.download-file">Download File</translate-i18n>
Expand Down

0 comments on commit 59b3941

Please sign in to comment.