mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-24 22:31:15 +00:00

* First draft of a11y fixes. * Amended results title * Amended results title (again) * Back to top keyboard operation Removed the 'data-role="top"' attribute, which implemented a cool animation to scroll to top but prevented the default behaviour, resulting in the keyboard focus not going back to top. * Options Button Fix to have a working options button, but using the mouse only. This is not a good solution because it cannot be operated via the keyboard. * Fixed options menu css. * Results view layout changes * Undoing layout changes * Graph layout fixes. * Skip Rules Link Added a link to skip the list of rules, which can get very long and annoying for any keyboard user not interested in selecting a rule. Most probably, implementing a collapsible list of rules would be a better solution here. Co-authored-by: Carlos Muncharaz <carlos@muncharaz.eu>
45 lines
1.6 KiB
HTML
45 lines
1.6 KiB
HTML
{{!
|
|
This file is part of Pa11y Dashboard.
|
|
|
|
Pa11y Dashboard is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
Pa11y Dashboard is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with Pa11y Dashboard. If not, see <http://www.gnu.org/licenses/>.
|
|
}}
|
|
<section class="col-md-12 zfix">
|
|
<div class="ruled task-header">
|
|
<div class="row clearfix">
|
|
<div class="col-md-12">
|
|
<h1 class="h2 crunch-top">{{task.name}}</h1>
|
|
<p class="h4"><a href="{{task.url}}">{{simplify-url task.url}}</a><span class="h5"> ({{task.standard}})</span></p>
|
|
</div>
|
|
<div class="run-details task-header clearfix">
|
|
<div class="col-md-12 clearfix">
|
|
{{#unless readonly}}
|
|
<nav aria-label="task tools">
|
|
<ul class="inline-list">
|
|
<li><a href="/{{task.id}}/edit">Edit this task</a></li>
|
|
<li><a href="/{{task.id}}/delete">Delete this task</a></li>
|
|
<li><a href="{{task.hrefRun}}" data-test="run-task">Run Pa11y</a></li>
|
|
</ul>
|
|
</nav>
|
|
{{/unless}}
|
|
{{#if mainResult}}
|
|
<div class="date">Last run: <strong>{{date-format mainResult.date format="DD MMM YYYY"}}</strong></div>
|
|
{{else}}
|
|
<div class="date">Not yet run</div>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|