🐞 fix: Update footer navigation styles and improve accessibility
Deploy to Dreamhost (dev) / build (push) Successful in 30s
Sync TODOs with Issues / sync_todos (push) Successful in 5s

This commit is contained in:
Keith Solomon
2026-06-21 13:24:04 -05:00
parent 2aa7c8d050
commit f64f6e24a3
+8 -6
View File
@@ -39,13 +39,13 @@ $footerNav = ! empty( $locations['footer_navigation'] )
</h2> </h2>
</div> </div>
<div id="footer-nav" aria-labelledby="footer-navigation"> <div id="footer-nav">
<?php if ( $footerNav ) : ?> <?php if ( $footerNav ) : ?>
<nav class="site-footer__nav" aria-label="Footer navigation"> <nav class="site-footer__nav" aria-label="Footer navigation">
<ul class="site-footer__nav-list"> <ul class="site-footer__nav-list">
<?php foreach ( $footerNav as $item ) : ?> <?php foreach ( $footerNav as $item ) : ?>
<li class="site-footer__nav-item list-none text-left <?php echo esc_attr( implode( ' ', $item->classes ) ); ?>"> <li class="site-footer__nav-item list-none text-left mb-3 <?php echo esc_attr( implode( ' ', $item->classes ) ); ?>">
<a href="<?php echo esc_url( $item->url ); ?>" class="site-footer__nav-link"> <a href="<?php echo esc_url( $item->url ); ?>" class="site-footer__nav-link font-bold">
<?php echo esc_html( $item->title ); ?> <?php echo esc_html( $item->title ); ?>
</a> </a>
</li> </li>
@@ -55,11 +55,13 @@ $footerNav = ! empty( $locations['footer_navigation'] )
<?php endif; ?> <?php endif; ?>
</div> </div>
<div aria-labelledby="footer-area-1" class="prose-p:text-balance"> <div class="prose-p:text-balance">
<div id="footer-description" aria-label="Footer description"> <div id="footer-description" class="" aria-label="Footer description">
<?php echo wp_kses_post( $footerDesc ); ?> <?php echo wp_kses_post( $footerDesc ); ?>
</div> </div>
<?php dynamic_sidebar( 'footer-1' ); ?> <?php dynamic_sidebar( 'footer-1' ); ?>
</div> </div>
@@ -81,7 +83,7 @@ $footerNav = ! empty( $locations['footer_navigation'] )
?> ?>
</div> </div>
<div class="copyright text-white text-right py-3 text-12px"> <div class="copyright font-light text-cwc-blue-03/60 text-right py-3 text-12px">
<?php <?php
if ( $copyright ) { if ( $copyright ) {
echo wp_kses_post( $copyright ); echo wp_kses_post( $copyright );