Implement new accessibility updates with add_theme_support. Add mobile nav styling support

This commit is contained in:
jgonzo
2016-02-29 15:35:01 -08:00
parent 2643117edd
commit 96976034b3
2 changed files with 87 additions and 1 deletions
+4 -1
View File
@@ -29,6 +29,9 @@ function trestle_add_theme_support() {
// Add support for footer widgets if specified in Trestle settings.
add_theme_support( 'genesis-footer-widgets', trestle_get_option( 'footer_widgets_number' ) );
//* Add Accessibility support
add_theme_support( 'genesis-accessibility', array( 'headings', 'drop-down-menu', 'search-form', 'skip-links', 'rems' ) );
}
add_action( 'after_setup_theme', 'trestle_remove_genesis_css_enqueue' );
@@ -482,4 +485,4 @@ function trestle_is_current_or_descendant_post( $post_id = '', $target_id = '' )
return false;
}
}