Skip to content

Commit f413a83

Browse files
committed
Implement keyboard accessibility
* Remove all `outline: none`'s - needed when the user is Tabbing
1 parent 53a53ab commit f413a83

8 files changed

Lines changed: 26 additions & 13 deletions

File tree

components/AccountBanner/accountBanner.module.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ ul.accountMenu {
3535
width: 100%;
3636
border: none;
3737
background: none;
38-
outline: none;
3938
font-size: 1rem;
4039
font-family: "Segoe UI";
4140
text-align: center;

components/BrandHeader/brandHeader.module.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
display: flex;
88
flex-flow: row nowrap;
99
align-items: center;
10-
outline: none;
1110
}
1211

1312
.brandNameContainer span {

components/FetchError/fetchError.module.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
.fetchError button {
1414
border: none;
15-
outline: none;
1615
background: none;
1716
padding: 1em;
1817
}

components/Jotting/jotting.module.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
font-size: 1rem;
44
background: none;
55
border: none;
6-
outline: none;
76
text-align: left;
87
padding: 1em;
98
width: 100%;
@@ -48,7 +47,6 @@
4847

4948
.jottingOptionsBar button {
5049
background: none;
51-
outline: none;
5250
border: none;
5351
margin: 0 1em;
5452
}

components/SearchBar/searchBar.module.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
.container * {
1212
border: none;
1313
background: none;
14-
outline: none;
1514
}
1615

1716
.container button {
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.shareeList {
2+
display: flex;
3+
height: 100%;
4+
padding: 1em;
5+
align-content: stretch;
6+
align-items: center;
7+
justify-content: flex-start;
8+
flex-flow: column nowrap;
9+
}
10+
11+
.item {
12+
line-height: 2em;
13+
}

pages/Home/home.module.css

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,25 +34,32 @@
3434

3535
.jottingContent {
3636
grid-row: 1 / 2;
37-
grid-column: 1 / -2;
37+
grid-column: 1 / -3;
3838
}
3939

4040
.shareMenu {
41+
display: flex;
4142
grid-row: 1 / 2;
4243
grid-column: 4 / -1;
4344
border: 4px solid black;
4445
background-color: white;
45-
display: flex;
4646
flex-direction: column;
4747
align-items: center;
4848
}
4949

50-
.shareList {
51-
height: 50%;
52-
}
53-
5450
.shareMenu > button {
5551
font-size: 2em;
5652
width: 200px;
53+
margin-bottom: 10px;
54+
}
55+
56+
.shareMenu > input[type="text"] {
57+
display: block;
58+
border: 1px solid orange;
59+
border-radius: 25px;
60+
padding: 1em;
61+
font-size: 1em;
62+
margin: 10px 0;
63+
width: 90%;
5764
}
5865

pages/Login/login.module.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@
120120

121121
.form fieldset input {
122122
border: none;
123-
outline: none;
124123
font-size: 16px;
125124
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
126125
}

0 commit comments

Comments
 (0)