Skip to content

Commit 5990708

Browse files
authored
Merge pull request #156 from devgeniem/TMS-932
TMS-932: Accessibility changes to programs
2 parents 33e9e1e + 1ebec2c commit 5990708

File tree

12 files changed

+844
-378
lines changed

12 files changed

+844
-378
lines changed

CHANGELOG.MD

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1717
- TMS-931: Navigation accessibility fixes
1818
- TMS-931: Program search accessibility fixes for zoomed in browsers
1919
- TMS-931: Added description-list element to single programs info-component
20+
- TMS-932: Moved program search filters into an accordion
21+
- TMS-932: Removed autoatic form submit when selecting program filters
22+
- TMS-932: Fixed program-page elements labels and screen-reader texts & element orders
2023

2124
## [1.8.3] - 2023-05-02
2225

assets/scripts/program-search.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,6 @@ export default class ProgramSearch {
1111

1212
programSearch() {
1313
const form = document.querySelector( '#program-search' );
14-
const selectElements = document.querySelectorAll( '#program-search select.search-filter' );
15-
selectElements.forEach( ( selectElem ) => {
16-
selectElem.addEventListener( 'change', () => {
17-
form.submit();
18-
} );
19-
20-
} );
21-
2214
const removeFilterBtns = document.querySelectorAll( '#program-search .remove-filter' );
2315
removeFilterBtns.forEach( ( button ) => {
2416
button.addEventListener( 'click', () => {

assets/styles/views/_page-program.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,22 @@
5959
pointer-events: none;
6060
}
6161
}
62+
63+
ul.ui-menu {
64+
.ui-menu-item-wrapper {
65+
&.ui-state-active {
66+
background-color: $color-grey;
67+
}
68+
}
69+
}
70+
71+
.bulmally-accordion {
72+
.accordion__title-button {
73+
@include from($mobile) {
74+
width: auto;
75+
}
76+
}
77+
}
6278
}
6379

6480
.load-more-spinner {

lang/fi.mo

109 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)