Skip to content

Commit

Permalink
fixing some bits I missed last week
Browse files Browse the repository at this point in the history
  • Loading branch information
hayden-MB committed Jul 25, 2024
1 parent 9a960ad commit 84d4eec
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website_files/Legal/Accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The main website [www.stack-assessment.org](https://stack-assessment.org),
* browsers tested on: Chrome, Firefox, Safari, Edge,
* resolutions tested on: common resolutions for laptop, tablet and mobile,
* ensures all non-text elements have alternative text,
* mever uses colour as the sole means of conveying information,
* never uses colour as the sole means of conveying information,
* links are bolded to convay that they are links beyond the use of colour,


Expand All @@ -27,6 +27,7 @@ The main website [www.stack-assessment.org](https://stack-assessment.org),
* The navigation bar cannot be navigated with only keyboard beyond two levels.
* The user map on /CaseStudies/Overview is not navigable by keyboard.
* Some elements have a colour contrast ratio of less than 4:5:1, in particular the navigation bar.
* The website does not have a 'skip to main content' option while using screen reader.
* The documentation website ["docs.stack-assessment.org"](https://docs.stack-assessment.org) does not have a 'skip to main content' option while using screen reader.
* The documentation website ["docs.stack-assessment.org"](https://docs.stack-assessment.org) has not yet been tested for accessibility.
* The alternative text on the STACK logo link on the website does not include where the link leads.
Expand Down
42 changes: 42 additions & 0 deletions website_files/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,10 @@ a: link {
border-color: #3574b7;
}

.page-link {
line-height: 1.25;
color: #3574b7;
}

/* Trees: https://codepen.io/ross-angus/pen/jwxMjL
Copyright (c) 2022 by Ross Angus (https://codepen.io/ross-angus/pen/jwxMjL)
Expand Down Expand Up @@ -338,3 +342,41 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
.dropdown-item.open{
background-color: #f8f9fa;
}

.dropdown-item.active, .dropdown-item:active {
color: #fff;
text-decoration: none;
background-color: #3574b7;
}

footer {
display: block;
}

.disclaimer{
border: 7px outset silver;
display: block;
color: black;
width: 104%;
margin: auto;
padding-bottom: 10px;
padding-top: 10px;
}

.disclaimer-left {
padding-left: 20px;
display: table-cell;
width: 40%;
margin: auto;
vertical-align: middle;
}

.disclaimer-right {
display: table-cell;
text-align: right;
padding-right: 30px;
margin: auto;
vertical-align: middle;
}


0 comments on commit 84d4eec

Please sign in to comment.