feat: Update default footer elements for improved styling and accessibility

This commit is contained in:
Torsten Brendgen
2026-08-18 16:18:14 +02:00
parent c529716a18
commit fae34b7ed8
4 changed files with 38 additions and 14 deletions
+10 -4
View File
@@ -44,13 +44,19 @@ function New-DefaultFooterElements {
type = 'div'
attributes = @{ role = 'contentinfo'; 'aria-label' = 'Portalverwaltung' }
styles = @{
'background-color' = '#323130'; color = '#ffffff'; padding = '12px 16px'
'text-align' = 'center'; width = '100%'; 'box-sizing' = 'border-box'
padding = '8px 16px'; 'text-align' = 'right'; width = '100%'; 'box-sizing' = 'border-box'
}
children = @(@{
type = 'a'; content = 'Portal Settings'
type = 'a'
attributes = @{ href = '~sitecollection/SitePages/PortalSettings.aspx' }
styles = @{ color = '#ffffff'; 'text-decoration' = 'underline' }
children = @(
@{
type = 'span'
attributes = @{ class = 'ms-Icon ms-Icon--Settings'; 'aria-hidden' = 'true' }
styles = @{ 'margin-right' = '4px' }
},
@{ type = 'span'; content = 'Portal Settings' }
)
})
})
}