forked from MapComplete/MapComplete
A11y: add option to disable or always enable a11y features
This commit is contained in:
parent
3059d2ed26
commit
8dd1a0e107
9 changed files with 95 additions and 66 deletions
|
@ -113,6 +113,33 @@
|
|||
"*": "{logout()}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "a11y-features",
|
||||
"question": {
|
||||
"en": "What accessibility features should be applied?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "mapcomplete-a11y=default",
|
||||
"alsoShowIf": "mapcomplete-a11y=",
|
||||
"then": {
|
||||
"en": "Enable accessibility features when arrow keys are used to navigate the map"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "mapcomplete-a11y=always",
|
||||
"then": {
|
||||
"en": "Always enable accessibility features"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "mapcomplete-a11y=never",
|
||||
"then": {
|
||||
"en": "Never enable accessibility features"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "background-layer-readonly",
|
||||
"condition": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue