Commit 11012bd
committed
Improve accessibility of search form
Why these changes are being introduced:
Accessibility testing revealed that the search button is difficult
for screen reader users to locate, and that the `title` attribute for
the keyword search input is not useful.
Relevant ticket(s):
* [GDT-318](https://mitlibraries.atlassian.net/browse/GDT-318)
How this addresses that need:
This changes the keyword `title` to 'keyword anywhere' and moves
the search button to the bottom of the form, after all of the
advanced search dropdowns. It also updates some corresponding
CSS, including removing the `border-radius` override for the `btn`
class, so the search button looks more like a button.
Side effects of this change:
Fixed margin/padding for results summary panel and mobile filter
toggle. (This is unrelated to this change, but I noticed while
testing out the changes that the spacing looked odd.)1 parent 908462d commit 11012bd
File tree
5 files changed
+18
-25
lines changed- app
- assets/stylesheets/partials
- views/search
5 files changed
+18
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | 6 | | |
4 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 38 | + | |
44 | 39 | | |
45 | 40 | | |
46 | 41 | | |
| |||
112 | 107 | | |
113 | 108 | | |
114 | 109 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
| 110 | + | |
| 111 | + | |
119 | 112 | | |
120 | | - | |
121 | 113 | | |
122 | 114 | | |
123 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | 2 | | |
9 | 3 | | |
10 | 4 | | |
| |||
34 | 28 | | |
35 | 29 | | |
36 | 30 | | |
37 | | - | |
38 | | - | |
| 31 | + | |
| 32 | + | |
39 | 33 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | 34 | | |
44 | 35 | | |
45 | 36 | | |
| |||
220 | 211 | | |
221 | 212 | | |
222 | 213 | | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
223 | 218 | | |
224 | 219 | | |
225 | 220 | | |
| |||
0 commit comments