diff --git a/src/blocks/Header/Header.tsx b/src/blocks/Header/Header.tsx index 3ebe6e29a..79dd74c10 100644 --- a/src/blocks/Header/Header.tsx +++ b/src/blocks/Header/Header.tsx @@ -162,6 +162,7 @@ export const HeaderBlock = (props: WithChildren) => { size="xl" extraProps={{ 'aria-describedby': titleId, + ...button.extraProps, }} {...button} /> diff --git a/src/models/constructor-items/blocks.ts b/src/models/constructor-items/blocks.ts index 19e01c248..cd7465447 100644 --- a/src/models/constructor-items/blocks.ts +++ b/src/models/constructor-items/blocks.ts @@ -141,7 +141,7 @@ export interface HeaderBlockProps { title: string; overtitle?: string; description?: string; - buttons?: Pick[]; + buttons?: Pick[]; width?: HeaderWidth; /** @deprecated imageSize now depends on width */ imageSize?: HeaderImageSize; diff --git a/src/sub-blocks/Content/Content.tsx b/src/sub-blocks/Content/Content.tsx index 587c55ab3..bc64177e0 100644 --- a/src/sub-blocks/Content/Content.tsx +++ b/src/sub-blocks/Content/Content.tsx @@ -124,6 +124,7 @@ const Content = (props: ContentProps) => { qa={qaAttributes.link} extraProps={{ 'aria-describedby': link.urlTitle ? undefined : titleId, + ...link.extraProps, }} /> ))} @@ -140,6 +141,7 @@ const Content = (props: ContentProps) => { qa={qaAttributes.button} extraProps={{ 'aria-describedby': item.urlTitle ? undefined : titleId, + ...item.extraProps, }} /> ))}