Open salcode opened 8 years ago
Since we're using Bootstrap Nav (rather than Genesis built-in nav) we don't need drop-down-menu
.
Since we're using Bootstrap Nav (rather than Genesis built-in nav) we don't need drop-down-menu.
the bs navwalker uses aria-haspopup accessibility features already so I'm pretty sure we could just edit it here with this this if we want to support the drop-down-menu
feature:
if ( genesis_a11y( 'drop-down-menu' ) ) {
$atts['aria-haspopup'] = 'true';
}
also, not sure we can support rems until bs4 and 404 is also one of the features available
See http://genesis-accessible.org/2015/07/genesis-2-2-accessibility-changes-and-features/
Ultimately, this is the code we want to add to
lib/genesis-setup.php
though currently some of these features conflict with our existing styles or markup.