Skip to content

Commit 524de36

Browse files
authored
Merge pull request DSpace#3614 from atmire/accessibility-settings-8_x
[Port dspace-8_x] Accessibility settings page
2 parents 2f986bb + 86b4ce2 commit 524de36

36 files changed

Lines changed: 1457 additions & 60 deletions

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
DSPACE_CACHE_SERVERSIDE_ANONYMOUSCACHE_MAX: 0
3030
# Tell Cypress to run e2e tests using the same UI URL
3131
CYPRESS_BASE_URL: http://127.0.0.1:4000
32+
# Disable the cookie consent banner in e2e tests to avoid errors because of elements hidden by it
33+
DSPACE_INFO_ENABLECOOKIECONSENTPOPUP: false
3234
# When Chrome version is specified, we pin to a specific version of Chrome
3335
# Comment this out to use the latest release
3436
#CHROME_VERSION: "90.0.4430.212-1"

config/config.example.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,3 +564,8 @@ liveRegion:
564564
messageTimeOutDurationMs: 30000
565565
# The visibility of the live region. Setting this to true is only useful for debugging purposes.
566566
isVisible: false
567+
568+
# Configuration for storing accessibility settings, used by the AccessibilitySettingsService
569+
accessibility:
570+
# The duration in days after which the accessibility settings cookie expires
571+
cookieExpirationDuration: 7
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { Config } from '../../config/config.interface';
2+
3+
/**
4+
* Configuration interface used by the AccessibilitySettingsService
5+
*/
6+
export class AccessibilitySettingsConfig implements Config {
7+
/**
8+
* The duration in days after which the accessibility settings cookie expires
9+
*/
10+
cookieExpirationDuration: number;
11+
}

0 commit comments

Comments
 (0)