Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
166 commits
Select commit Hold shift + click to select a range
527d7d0
changed placed on the js file
simfrisk Mar 24, 2025
01f0be0
test sofie
ssofiejohansson Mar 25, 2025
7e4746b
test
ssofiejohansson Mar 25, 2025
28127f1
basic html
simfrisk Mar 25, 2025
dc1b662
test
simfrisk Mar 25, 2025
ff99bbb
test
simfrisk Mar 25, 2025
17884d6
Merge pull request #1 from simfrisk/javascript-planning
simfrisk Mar 25, 2025
c1eacdf
new test
simfrisk Mar 25, 2025
54fd8fd
Merge branch 'main' into css-basics
ssofiejohansson Mar 25, 2025
1270725
new css colorpalette
simfrisk Mar 25, 2025
e2b5de4
Merge branch 'main' of https://github.com/simfrisk/accessibility-sofi…
ssofiejohansson Mar 25, 2025
736cebc
css styling
ssofiejohansson Mar 25, 2025
a4758dd
Merge branch 'main' into color-palette
simfrisk Mar 25, 2025
e2c630d
hamburger menu first draft
ssofiejohansson Mar 25, 2025
9ac92a2
Merge branch 'main' into css-basics
ssofiejohansson Mar 25, 2025
c1912a0
Merge pull request #2 from simfrisk/css-basics
ssofiejohansson Mar 25, 2025
aaedec1
Merge branch 'main' into color-palette
simfrisk Mar 25, 2025
2a701ac
Merge pull request #3 from simfrisk/color-palette
simfrisk Mar 25, 2025
26daae3
Added typescript, cleaned up function for burger and made an object f…
simfrisk Mar 25, 2025
d1f196c
Merge pull request #4 from simfrisk/javascript-basics
simfrisk Mar 25, 2025
34a229f
started on the function for the flow
simfrisk Mar 25, 2025
e5f2ced
test igen
ssofiejohansson Mar 26, 2025
0c3f5e1
test
ssofiejohansson Mar 26, 2025
eaa8a51
edit buttons and input hover effect
ssofiejohansson Mar 26, 2025
ba40675
A bit more progress
simfrisk Mar 26, 2025
1404e67
Merge branch 'main' into css-basics
ssofiejohansson Mar 26, 2025
e98288a
Merge pull request #5 from simfrisk/css-basics
ssofiejohansson Mar 26, 2025
3734621
Merge branch 'main' into nextslide
simfrisk Mar 26, 2025
28d57aa
Merge pull request #6 from simfrisk/nextslide
simfrisk Mar 26, 2025
1ee54e7
spelling errors
simfrisk Mar 26, 2025
34b05ce
added most of the functions
simfrisk Mar 26, 2025
84c2769
added the start quiz and load next question function
simfrisk Mar 26, 2025
2fea344
Merge pull request #7 from simfrisk/continue-main-function
simfrisk Mar 26, 2025
a8d4738
faild to fix
simfrisk Mar 26, 2025
5b972b1
Merge branch 'main' of https://github.com/simfrisk/accessibility-sofi…
ssofiejohansson Mar 26, 2025
48efb98
got typscript to work and small bug
simfrisk Mar 26, 2025
53e2fcc
Merge pull request #8 from simfrisk/loadNextQuestion-to-typescript
simfrisk Mar 26, 2025
9a54aaa
still some bugs in row 96-row 99
simfrisk Mar 26, 2025
bef2c58
more styling and added about page
ssofiejohansson Mar 26, 2025
b66cf85
fixed radiobtns, it made the design of
simfrisk Mar 27, 2025
2672ca1
Merge branch 'main' into advanced-css-index
ssofiejohansson Mar 27, 2025
b4e5189
Merge pull request #9 from simfrisk/advanced-css-index
ssofiejohansson Mar 27, 2025
cfb7f39
Made the load Answer Typescript
simfrisk Mar 27, 2025
8cfb7bc
Co-authored-by: Sofie <[email protected]>
simfrisk Mar 27, 2025
ef1e29b
bugs
simfrisk Mar 27, 2025
5cfe722
fixt load nex questionts
simfrisk Mar 27, 2025
f1f6ba4
added nex slide funtion
simfrisk Mar 27, 2025
692c4f7
Merge pull request #10 from simfrisk/card-placements
simfrisk Mar 27, 2025
26e3084
small fix
simfrisk Mar 27, 2025
f92c121
fixed some stuff
simfrisk Mar 27, 2025
0941e52
Merge pull request #11 from simfrisk/last-page-switch
simfrisk Mar 27, 2025
f71ad68
added slide function
simfrisk Mar 27, 2025
0419bdd
got the score workning
simfrisk Mar 27, 2025
d2fdc21
Merge pull request #12 from simfrisk/score
simfrisk Mar 27, 2025
56ade5d
styling fixes
ssofiejohansson Mar 28, 2025
5dba702
more minor styling
ssofiejohansson Mar 28, 2025
7a0522a
fixed so its not selected
simfrisk Mar 28, 2025
a3a8d1c
Merge pull request #13 from simfrisk/radiobug
simfrisk Mar 28, 2025
417f04b
class changes
simfrisk Mar 28, 2025
ff21555
fixed it back
simfrisk Mar 29, 2025
01313f7
fix styling on swipe
simfrisk Mar 29, 2025
501e06e
disign fixes
simfrisk Mar 29, 2025
cf400a8
Merge pull request #14 from simfrisk/layoutfix
simfrisk Mar 29, 2025
c02da9d
added the final btn and deleted the backbutton
simfrisk Mar 29, 2025
581a6f0
Merge pull request #15 from simfrisk/see-results-and-backbtn-gone
simfrisk Mar 29, 2025
836fed3
bug fix
simfrisk Mar 29, 2025
6fbddc6
about content and styling, updated questions
ssofiejohansson Mar 29, 2025
e5cd8ab
Merge branch 'main' into about-index
ssofiejohansson Mar 29, 2025
65dffee
Merge pull request #16 from simfrisk/about-index
ssofiejohansson Mar 29, 2025
42531e7
bugfixes
simfrisk Mar 29, 2025
9f395cd
Merge pull request #17 from simfrisk/bugfixes
simfrisk Mar 29, 2025
3ae9ab2
enter knappen havfungerande
simfrisk Mar 29, 2025
5973a67
Merge pull request #18 from simfrisk/enter
simfrisk Mar 29, 2025
0197462
Added darkmode
simfrisk Mar 29, 2025
ff1a049
Merge pull request #19 from simfrisk/darkmode
simfrisk Mar 29, 2025
58110a3
bug fixes
simfrisk Mar 30, 2025
f37fd26
more tweeks on timeing
simfrisk Mar 30, 2025
e5011ae
made a desktop layout for the home page. There is a bug when clicking…
simfrisk Mar 30, 2025
b64f075
I made the transtions as callback functions or what they are called
simfrisk Mar 30, 2025
90951cd
fixed the white border
simfrisk Mar 30, 2025
48d2b7c
bug fix transition
simfrisk Mar 30, 2025
8a95367
Fixed the desktop navigation bug
simfrisk Mar 30, 2025
9ea1379
another bug fix
simfrisk Mar 30, 2025
1367700
local darkmode storage
simfrisk Mar 30, 2025
6f08edc
added home and end navigation
simfrisk Mar 30, 2025
c25dbee
converted if statment to switch for keyboard navigation
simfrisk Mar 30, 2025
7330e95
bugfix
simfrisk Mar 30, 2025
db4ef60
Fixed the alert bug with a retrun and changed order
simfrisk Mar 31, 2025
2600171
Started enter
simfrisk Mar 31, 2025
07b5308
fixed menu desktop
ssofiejohansson Mar 31, 2025
a33cb13
Merge pull request #20 from simfrisk/advanced-css
ssofiejohansson Mar 31, 2025
24322e4
footer
ssofiejohansson Mar 31, 2025
0a552cf
Merge pull request #21 from simfrisk/advanced-css
ssofiejohansson Mar 31, 2025
c445129
added tabing
simfrisk Mar 31, 2025
954f9b6
Co-authored-by: Sofie <[email protected]>
simfrisk Mar 31, 2025
82571d8
bug fix focus
simfrisk Mar 31, 2025
e93e896
footer and about changed
ssofiejohansson Mar 31, 2025
d4f4dd1
Merge branch 'main' into about-page
ssofiejohansson Mar 31, 2025
4acfc44
Merge pull request #23 from simfrisk/about-page
ssofiejohansson Mar 31, 2025
b6e8f15
erge
ssofiejohansson Mar 31, 2025
c26bd25
button size, footer, card height
ssofiejohansson Mar 31, 2025
387dc38
easy fix content viewing
ssofiejohansson Mar 31, 2025
9c4fd1f
Merge pull request #24 from simfrisk/about-advanced
ssofiejohansson Mar 31, 2025
39da062
edit text and size of img
ssofiejohansson Mar 31, 2025
d7e853d
Merge pull request #25 from simfrisk/text-content
ssofiejohansson Mar 31, 2025
bd7bb51
fixed the keyboard things form last pull
simfrisk Mar 31, 2025
aac0845
minor bug
simfrisk Mar 31, 2025
0f0be7b
submit btn fix
simfrisk Mar 31, 2025
e37bc5b
started on menu enter
simfrisk Mar 31, 2025
ab73003
forgot to save
simfrisk Mar 31, 2025
b9bc4c7
added text for light mode
simfrisk Apr 1, 2025
f98e0e3
Fick keyboard nevigation att funka
simfrisk Apr 1, 2025
450b14e
Merge pull request #26 from simfrisk/total-navigation
simfrisk Apr 1, 2025
60d29b3
edit of colors on focus
ssofiejohansson Apr 1, 2025
057cafe
Merge pull request #27 from simfrisk/css-fixes
ssofiejohansson Apr 1, 2025
8078ce3
added error text and color to no button pressed lo legend
simfrisk Apr 1, 2025
54c7473
small bug fixes
simfrisk Apr 1, 2025
e65c8a1
not sure if saved before
simfrisk Apr 1, 2025
d7a510d
I think I got the sizing down
simfrisk Apr 1, 2025
39d9967
new test
simfrisk Apr 1, 2025
c6b20db
lite mer fix
simfrisk Apr 1, 2025
f980f56
fixed part of the nav
simfrisk Apr 1, 2025
f0921a1
Sparade jag innan?
simfrisk Apr 1, 2025
b93f80a
Får inte riktigt till det
simfrisk Apr 2, 2025
724a545
gjort om hela sidan typ utan absolut
simfrisk Apr 2, 2025
9b9a67b
gjort om hela sidan typ utan absolut
simfrisk Apr 2, 2025
6604b66
fixed about imge and delete footer
simfrisk Apr 2, 2025
eabfee9
fixed the header
simfrisk Apr 2, 2025
dd94c71
fixed the iphone 5 viewport
simfrisk Apr 2, 2025
3ff3b7c
fix some bugs
simfrisk Apr 2, 2025
803c57a
nav fix on about
simfrisk Apr 2, 2025
882327d
Nav fix on about
simfrisk Apr 2, 2025
2e85f3d
no transition for small phones
simfrisk Apr 2, 2025
1706748
footer fix
simfrisk Apr 2, 2025
09e6c98
Added tabing to about
simfrisk Apr 2, 2025
dd1f681
added a reduce motion btn
simfrisk Apr 2, 2025
8c09527
hide motion on media quarries
simfrisk Apr 2, 2025
dd38c51
working on button bug
simfrisk Apr 2, 2025
2d734c4
almost got it to work
simfrisk Apr 2, 2025
95aa024
cleaned up css
ssofiejohansson Apr 2, 2025
85e103c
Escape is working
simfrisk Apr 3, 2025
8cab972
motion button fixed
simfrisk Apr 3, 2025
3022181
fick menu att funka
simfrisk Apr 3, 2025
d3db647
css fix
ssofiejohansson Apr 3, 2025
81f8ee4
added some stuff
simfrisk Apr 3, 2025
a5b8b46
new image and list item plus overall styling
ssofiejohansson Apr 3, 2025
0fb84e1
new stuff
simfrisk Apr 3, 2025
5b62c80
Merge branch 'aria-index'
simfrisk Apr 3, 2025
afaba51
added merge
simfrisk Apr 3, 2025
1512f93
cleaned up css
ssofiejohansson Apr 3, 2025
ef12228
css clean
ssofiejohansson Apr 3, 2025
8b8a945
fix tab
simfrisk Apr 3, 2025
2feb34f
Merge pull request #29 from simfrisk/bugfix-tab
simfrisk Apr 3, 2025
a8adb24
html cleanup
ssofiejohansson Apr 3, 2025
bd0744d
darkmode for all
simfrisk Apr 3, 2025
a169e21
fixed hight
simfrisk Apr 3, 2025
65ea8df
added back tabinex.
simfrisk Apr 3, 2025
dc59ba0
added dotted line to current page
simfrisk Apr 3, 2025
d08028c
centered footer on dektop
simfrisk Apr 3, 2025
b4dd5ba
fixed the color for darkmode on title about
simfrisk Apr 4, 2025
9e3baed
no label aria
simfrisk Apr 4, 2025
156b73c
typescript fixes
simfrisk Apr 4, 2025
40bc004
aria overlook index.html
simfrisk Apr 4, 2025
765d62c
fixed main focus and sorting of DOMS
simfrisk Apr 4, 2025
e297208
final save
simfrisk Apr 4, 2025
fe82df0
html/css cleanup
ssofiejohansson Apr 5, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# Web Accessibility Project

A basic web server template focused on web accessibility practices.
Link to netlify: https://accessibility-simon-sofie.netlify.app/

### Installation

1. Fork this repository by clicking the "Fork" button at the top right of the GitHub repository page.

2. Clone your forked repository
Project by Simon and Sofie
195 changes: 186 additions & 9 deletions about.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,187 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>About</title>
<link rel="stylesheet" href="css/styles.css" />
</head>
<body></body>
</html>
<html lang="en">

<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
<title>About this quiz</title>
<link
rel="stylesheet"
href="css/color-palette.css"
/>
<link
rel="stylesheet"
href="css/styles.css"
/>
<!-- font awesome icons -->
<script
src="https://kit.fontawesome.com/beb1bc6f21.js"
crossorigin="anonymous"
></script>
<script
src="./js/about.js"
defer
></script>
</head>

<body id="body">
<a
href="#about-content"
class="skip-link"
tabindex="0"
>Skip to main content</a>

<header
role="banner"
tabindex="-1"
>
<button
id="menu-icon"
class="fas fa-bars"
aria-live="assertive"
aria-haspopup="true"
aria-expanded="false"
aria-controls="Menu"
aria-label="Open main menu"
tabindex="0"
></button>
<nav
role="navigation"
aria-label="Main Menu"
id="nav-links"
>
<ul role="list">
<li
id="index-page2"
role="listitem"
><a href="index.html">Home</a></li>
<li
id="about-page2"
role="listitem"
><a
id="about-style"
href="about.html"
>About</a></li>
</ul>
</nav>
</header>
<main
id="about-content"
role="main"
>
<section
id="about"
class=""
role="region"
aria-labelledby="about-text"
>
<div
class="speech-bubble"
role="img"
aria-labelledby="about-text"
>
<!-- A non descriptive image -->
<img
src="./img/speech-bubble.webp"
alt=""
aria-hidden="true"
/>
<div class="title-text">
<h1
id="question-text"
class="question-text-about"
tabindex="0"
>How this Quiz is accessible</h1>
</div>
</div>
<ol role="list">
<li
tabindex="0"
role="listitem"
><strong>A "Skip to main content"</strong> link lets users bypass navigation and
go directly
to
the quiz.</li>
<li
tabindex="0"
role="listitem"
>The quiz is fully <strong>keyboard-accessible</strong>, allowing users to
navigate and
select answers without a
mouse.</li>
<li
tabindex="0"
role="listitem"
>A <strong>clean and simple layout</strong> ensures an easy-to-read experience
with minimal
distractions.</li>
<li
tabindex="0"
role="listitem"
><strong>ARIA labels</strong> enhance accessibility for screen readers.</li>
<li
tabindex="0"
role="listitem"
><strong>Semantic HTML</strong> improves structure and readability for both
users and
assistive technologies.
</li>
<li
tabindex="0"
role="listitem"
>
A <strong>dark mode option</strong> provides a high-contrast black background with white text for a more
comfortable viewing experience.
</li>
<li
tabindex="0"
role="listitem"
>A <strong>reduce motion option</strong> allows users to disable animations and
sliding
effects in the quiz, providing a more comfortable experience for anyone sensitive to motion.</li>
</ol>
<!-- A descriptive image -->
<div class="img-container">
<img
class="accessibility-img"
src="./img/web-accessibility-features.webp"
alt="Illustration of web accessibility features for this quiz"
role="img"
/>
</div>
</section>
</main>
<footer role="contentinfo">
<nav
role="navigation"
aria-label="Footer menu"
>
<button
id="dark-mode-icon"
class="dark-mode-icon"
type="button"
aria-label="Toggle dark mode"
>
Dark mode
</button>
<p tabindex="0">
Project by Simon & Sofie
<a
tabindex="0"
href="https://github.com/simfrisk/accessibility-sofie-simon"
aria-label="GitHub repository for Accessibility Project by Simon & Sofie"
>
<i
class="fa-brands fa-github"
aria-hidden="true"
></i>
</a>
</p>
</nav>
</footer>
</body>

</html>
14 changes: 14 additions & 0 deletions css/color-palette.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
:root {
--primary: #fdeb3f;
--secondary: #121212;
--complementary: #FFFFFF;
--font-primary: #121212;
--font-primary-fixed: #121212;
}

.dark-mode {
--primary: #121212;
--secondary: #FFFFFF;
--complementary: #121212;
--font-primary: #FFFFFF;
}
Loading