Skip to content

Commit

Permalink
use details/summary elements for revealing our loud a11y node details
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Jun 2, 2016
1 parent b1e0919 commit 3b4fa60
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion extension/app/manifest.json
@@ -1,6 +1,6 @@
{
"name": "__MSG_appName__",
"version": "0.6.8",
"version": "0.6.9",
"minimum_chrome_version": "52",
"manifest_version": 2,
"description": "__MSG_appDescription__",
Expand Down
17 changes: 10 additions & 7 deletions formatters/partials/accessibility.html
Expand Up @@ -18,11 +18,14 @@
}
</style>
<div class="axe-violation">
<a class="axe-violation__help--{{ this.impact }}" href="{{ this.helpUrl }}" target="_blank">{{ this.help }}</a>

<ul>
{{#each this.nodes}}
<li><code>{{ this.target }}</code></li>
{{/each}}
</ul>
<details>
<summary>
<a class="axe-violation__help--{{ this.impact }}" href="{{ this.helpUrl }}" target="_blank">{{ this.help }}</a>
</summary>
<ul>
{{#each this.nodes}}
<li><code>{{ this.target }}</code></li>
{{/each}}
</ul>
</details>
</div>

0 comments on commit 3b4fa60

Please sign in to comment.