7bed453de3
This introduces ember-a11y-testing to acceptance tests via a helper wrapper that allows us to globally ignore rules that we can address separately. It also adds fixes for the aXe rules that were failing.
20 lines
850 B
Handlebars
20 lines
850 B
Handlebars
<svg data-test-gauge-svg role="img" height={{this.height}} title="gauge chart">
|
|
<defs>
|
|
<linearGradient x1="0" x2="1" y1="0" y2="0" class="{{this.chartClass}}" id="{{this.fillId}}">
|
|
<stop class="start" offset="0%" />
|
|
<stop class="end" offset="100%" />
|
|
</linearGradient>
|
|
<clipPath id="{{this.maskId}}">
|
|
<path class="fill" d="{{this.valueArc}}" />
|
|
</clipPath>
|
|
</defs>
|
|
<g class="canvas {{this.chartClass}}">
|
|
<path class="background" d="{{this.backgroundArc}}" />
|
|
<rect class="area" x="0" y="0" width="100%" height="100%" fill="url(#{{this.fillId}})" clip-path="url(#{{this.maskId}})" />
|
|
</g>
|
|
</svg>
|
|
<div class="metric">
|
|
<h3 data-test-label class="label">{{this.label}}</h3>
|
|
<p data-test-percentage class="value">{{format-percentage this.value total=this.total complement=this.complement}}</p>
|
|
</div>
|