Ever wondered on a lazy Sunday afternoon as to where the HTML markup of widgets comes from in your Genesis site?
I did, the last weekend and learned that there are two filters
genesis_register_sidebar_defaults
- for backward compatibilitygenesis_register_widget_area_defaults
that Genesis provides to alter the widgets' markup.
Below is the skeleton or boilerplate code using which widgets' markup can be changed with genesis_register_widget_area_defaults
filter hook while accounting for accessibility:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.
What happens if I change the H3 to H2 when accessibility support is enabled? Thanks Sridhar.