Skip to content

Commit

Permalink
show alternative text for source code button swiss#565
Browse files Browse the repository at this point in the history
  • Loading branch information
bihorco36 committed Nov 9, 2017
1 parent 21bde92 commit 358164c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/views/docs/07-accessibility.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h1>{{t 'docs.accessibility.title'}}</h1>
<div class="component-example">
<p>Barrier-free Accessibility, Swiss Confederation Web Guidelines</p>

<button type="button" class="show-code" data-toggle="collapse" data-target="#code-title-tag" aria-expanded="false">&lt;/&gt;</button>
<button type="button" class="show-code" data-toggle="collapse" data-target="#code-title-tag" aria-expanded="false" title="Show Source Code">&lt;/&gt;</button>
</div>

<div class="code-block collapse" aria-expanded="false" id="code-title-tag" role="note">
Expand All @@ -28,7 +28,7 @@ <h1>{{t 'docs.accessibility.title'}}</h1>
<p lang="en">Web content accessibility is easy, isn't it?</p>
<p lang="fr">L'accessibilité aux contenus web est facile, n'est-ce pas?</p>

<button type="button" class="show-code" data-toggle="collapse" data-target="#code-multi-language" aria-expanded="false">&lt;/&gt;</button>
<button type="button" class="show-code" data-toggle="collapse" data-target="#code-multi-language" aria-expanded="false" title="Show Source Code">&lt;/&gt;</button>
</div>

<div class="code-block collapse" aria-expanded="false" id="code-multi-language" role="note">
Expand Down
2 changes: 1 addition & 1 deletion src/views/layouts/includes/f-item-content.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<div class="clearfix">
{{{material @key @root}}}
</div>
<button type="button" class="show-code" data-toggle="collapse" data-target="#code-{{replace '(\.)' '-' @key}}" aria-expanded="{{#if data.expanded}}true{{else}}false{{/if}}">&lt;/&gt;</button>
<button type="button" class="show-code" data-toggle="collapse" data-target="#code-{{replace '(\.)' '-' @key}}" aria-expanded="{{#if data.expanded}}true{{else}}false{{/if}}" title="Show Source Code">&lt;/&gt;</button>
</div>

<div class="code-block collapse{{#if data.expanded}} in{{/if}}" aria-expanded="{{#if data.expanded}}true{{else}}false{{/if}}" id="code-{{replace '(\.)' '-' @key}}" role="note">
Expand Down

0 comments on commit 358164c

Please sign in to comment.