summaryrefslogtreecommitdiff
path: root/coverage/htmlfiles/pyfile.html
diff options
context:
space:
mode:
authorVince Salvino <salvino@coderedcorp.com>2020-02-11 00:45:28 -0500
committerVince Salvino <salvino@coderedcorp.com>2020-02-11 00:45:28 -0500
commitbcf70b4d59e7dede57edcb5ae01d3edbf97a9c29 (patch)
tree6e1a3213d500cfa4b6bec474aac8d12f6d4ae378 /coverage/htmlfiles/pyfile.html
parent1c5f6610f987cc6fd7c575fac45470b91a72b731 (diff)
downloadpython-coveragepy-git-bcf70b4d59e7dede57edcb5ae01d3edbf97a9c29.tar.gz
Add dark mode to HTML output; improve accessibility
Diffstat (limited to 'coverage/htmlfiles/pyfile.html')
-rw-r--r--coverage/htmlfiles/pyfile.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/coverage/htmlfiles/pyfile.html b/coverage/htmlfiles/pyfile.html
index eb0f99c8..519279cc 100644
--- a/coverage/htmlfiles/pyfile.html
+++ b/coverage/htmlfiles/pyfile.html
@@ -33,12 +33,12 @@
<h2 class="stats">
{{nums.n_statements}} statements &nbsp;
- <span class="{{category.run}} shortkey_r button_toggle_run">{{nums.n_executed}} run</span>
- <span class="{{category.mis}} shortkey_m button_toggle_mis">{{nums.n_missing}} missing</span>
- <span class="{{category.exc}} shortkey_x button_toggle_exc">{{nums.n_excluded}} excluded</span>
+ <button type="button" class="{{category.run}} shortkey_r button_toggle_run" title="Toggle lines run">{{nums.n_executed}} run</button>
+ <button type="button" class="{{category.mis}} shortkey_m button_toggle_mis" title="Toggle lines missing">{{nums.n_missing}} missing</button>
+ <button type="button" class="{{category.exc}} shortkey_x button_toggle_exc" title="Toggle lines excluded">{{nums.n_excluded}} excluded</button>
{% if has_arcs %}
- <span class="{{category.par}} shortkey_p button_toggle_par">{{nums.n_partial_branches}} partial</span>
+ <button type="button" class="{{category.par}} shortkey_p button_toggle_par" title="Toggle lines partially run">{{nums.n_partial_branches}} partial</button>
{% endif %}
</h2>
</div>