26 Commits

Author SHA1 Message Date
Sangita Mane
5202f59008 A11y fixes for pa11y dashboard pages. (#306)
* 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>
2022-10-11 14:17:43 +02:00
Jose Bolos
7c77467dcf Fix incorrect values being passed to ObjectID (#244)
Due to the routes being defined in the wrong order, certain urls (e.g. `/tasks/:taskid:/edit`) are being captured by the results route instead (e.g. `/tasks/:taskid:/:resultid:`). This is causing the wrong method to being called with parts of the path like `edit`, `run`, etc. being passed as an argument to ObjectID(). As these are not valid MongoDB IDs, the method displays instead an error message:

> Argument passed in must be a single String of 12 bytes or a string of 24 hex characters

Also change the path to the favicon image to be not relative, as this is causing a `favicon.png` string to be sent as an argument to ObjectID() when visiting certain pages due to the previous issue.
2019-09-20 14:57:15 +01:00
Rowan Manning
b1ae55c802 Rename all the repos and uppercase Pa11y 2016-06-01 20:57:09 +01:00
Jude Robinson
7b10f2de91 adding the gpl preamble 2014-02-10 14:08:38 +00:00
Rowan Manning
fd32a5d894 Cache-bust the CSS and JS 2013-11-27 13:29:19 +00:00
perryharlock
44726558f1 Renamed demo-mode to readonly-mode 2013-11-19 09:04:24 +00:00
perryharlock
15ae109eac Amend positon of date in task-header when site is in demo mode 2013-11-19 08:23:40 +00:00
Rowan Manning
55d44685e9 Disable search engine indexing by default 2013-11-15 15:58:49 +00:00
Rowan Manning
080001db89 Remove @import rules from CSS
Fixes #53.
2013-11-11 10:21:47 +00:00
Rowan Manning
a8b1a2c09d Rename the compiled site CSS 2013-11-05 11:55:44 +00:00
Rowan Manning
3bc9106942 Minify the site JavaScript 2013-11-05 11:54:32 +00:00
perryharlock
b619087cf9 Add bower package management 2013-10-04 11:37:40 +01:00
perryharlock
944f723d80 Add breadcrumb 2013-09-27 12:00:51 +01:00
perryharlock
895069039d Create partials and populate results page 2013-09-26 16:44:22 +01:00
Rowan Manning
5a3b4c09c6 Use absolute paths to assets
Otherwise paths with more than 1 level won't load
the CSS/JavaScript.
2013-09-24 20:54:26 +01:00
perryharlock
20186c858d Add aria landmark roles 2013-09-23 15:56:22 +01:00
perryharlock
9f917f97ec Fixed issue with flot not working in ie7 and ie8 2013-09-20 15:28:54 +01:00
perryharlock
33259b76f8 Add supposed canvas support for IE8 and ie specific styling to fix layout 2013-09-20 11:04:08 +01:00
perryharlock
ea295a96b1 Add tooltip to list of standards rules on new task page 2013-09-19 11:42:25 +01:00
perryharlock
6dff1c0a2b Issue 10 - Include less files and replace 2 css files with 1 minified css from less files 2013-09-18 14:40:29 +01:00
Rowan Manning
259d41f2aa Tabs, not spaces 2013-09-17 08:54:55 +01:00
perryharlock
29ce78df3e Add main body layout markup 2013-09-16 15:47:08 +01:00
perryharlock
143f20dd05 Add header and footer partials 2013-09-16 15:41:44 +01:00
perryharlock
f2b17154f8 Copy over css, js and favicon. Add in links to files in header 2013-09-16 15:37:56 +01:00
Rowan Manning
8d4f79128d Configure Express and add public files 2013-09-16 09:05:00 +01:00
Rowan Manning
f951f7c734 Add basic views 2013-09-13 17:20:38 +01:00