More work on A11y

This commit is contained in:
Pieter Vander Vennet 2023-12-21 17:36:43 +01:00
parent 87aee9e2b7
commit 6da72b80ef
28 changed files with 398 additions and 209 deletions

View file

@ -105,6 +105,12 @@ export interface MappingConfigJson {
*/
hideInAnswer?: boolean | TagConfigJson
/**
* Also show this 'then'-option if the feature matches these tags.
* Ideal for outdated tags.
*/
alsoShowIf?: TagConfigJson
/**
* question: What tags should be applied if this mapping is _not_ chosen?
*

View file

@ -168,6 +168,7 @@ export interface TagRenderingConfigJson {
* This can be an substituting-tag as well, e.g. {'if': 'addr:street:={_calculated_nearby_streetname}', 'then': '{_calculated_nearby_streetname}'}
*/
if: TagConfigJson
/**
* question: What text should be shown?
*