Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion packages/main/src/components/ObjectPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ export interface ObjectPagePropTypes extends Omit<CommonProps, 'placeholder'> {
objectPageAnchorBar?: {
role?: string;
};
objectPageFooterArea?: {
role?: string;
};
};
/**
* If set, only the specified placeholder will be displayed as content of the `ObjectPage`, no sections or sub-sections will be rendered.
Expand Down Expand Up @@ -887,7 +890,11 @@ const ObjectPage = forwardRef<ObjectPageDomRef, ObjectPagePropTypes>((props, ref
<div className={classNames.footerSpacer} data-component-name="ObjectPageFooterSpacer" aria-hidden />
)}
{footerArea && (
<footer className={classNames.footer} data-component-name="ObjectPageFooter">
<footer
role={accessibilityAttributes?.objectPageFooterArea?.role}
className={classNames.footer}
data-component-name="ObjectPageFooter"
>
{footerArea}
</footer>
)}
Expand Down
Loading