diff --git a/client/web/divkit/src/components/utilities/Actionable.svelte b/client/web/divkit/src/components/utilities/Actionable.svelte index f5b4112d8..1c2925bd7 100644 --- a/client/web/divkit/src/components/utilities/Actionable.svelte +++ b/client/web/divkit/src/components/utilities/Actionable.svelte @@ -7,7 +7,8 @@ 'button', 'image', 'checkbox', - 'radio' + 'radio', + 'header' ]); @@ -115,7 +116,11 @@ $: { if (customAccessibility?.type && SUPPORTED_ACCESSIBILITY_TYPES.has(customAccessibility.type)) { - role = customAccessibility.type; + if (customAccessibility.type === 'header') { + role = 'heading'; + } else { + role = customAccessibility.type; + } } else if (href) { role = undefined; } else if (hasJSAction) { diff --git a/test_data/regression_test_data/index.json b/test_data/regression_test_data/index.json index 8b994c619..df7838769 100644 --- a/test_data/regression_test_data/index.json +++ b/test_data/regression_test_data/index.json @@ -633,7 +633,8 @@ ], "platforms": [ "android", - "ios" + "ios", + "web" ], "steps": [ "Turn on Screen reader",