Gardening Tips – HelpfulGardener.com


Gardening Tips – HelpfulGardener.comCopyright 2003 – 2018 © HelpfulGardener.com ‘).insertAfter(“#footer-info”); }); ]]>

Skip to content’; $(target).attr(‘tabindex’, -1); $(‘body’).prepend(skiplink); } skipTo(‘#main-content’); /** * Use js to focus for internal links. */ $(‘a[href^=”#”]’).click(function () { const content = $(‘#’ + $(this).attr(‘href’).slice(1)); content.focus(); }); }); ]]>Search’); }); /** * Add unique ID to contact module input with matching label. * * @divi-module Contact */ $(‘.et_pb_contact_form’).each(function (e) { $(this).find(‘.et_pb_contact_captcha_question’).parent().wrap(”); }); /** * Correct labels on social media icons */ $(‘.et-social-facebook a.icon span’).text(‘Facebook’); $(‘.et-social-twitter a.icon span’).text(‘Twitter’); $(‘.et-social-google-plus a.icon span’).text(‘Google Plus’); $(‘.et-social-pinterest a.icon span’).text(‘Pinterest’); $(‘.et-social-linkedin a.icon span’).text(‘LinkedIn’); $(‘.et-social-tumblr a.icon span’).text(‘Tumblr’); $(‘.et-social-instagram a.icon span’).text(‘Instagram’); $(‘.et-social-skype a.icon span’).text(‘Skype’); $(‘.et-social-flikr a.icon span’).text(‘Flickr’); $(‘.et-social-myspace a.icon span’).text(‘Myspace’); $(‘.et-social-dribbble a.icon span’).text(‘Dribble’); $(‘.et-social-youtube a.icon span’).text(‘YouTube’); $(‘.et-social-vimeo a.icon span’).text(‘Vimeo’); $(‘.et-social-rss a.icon span’).text(‘RSS’); }); ]]> 0) { next.find(‘a’).trigger(‘click’); } else { module.find(‘li:first a’).trigger(‘click’); } } else if (e.which === 37) { // Left. const next = module.find(‘li.et_pb_tab_active’).prev(); if (next.length > 0) { next.find(‘a’).trigger(‘click’); } else { module.find(‘li:last a’).trigger(‘click’); } } $(‘.et_pb_tabs_controls a’).removeClass(‘keyboard-outline’); module.find(‘li.et_pb_tab_active a’).addClass(‘keyboard-outline’); }); /** * Add unique ID to search module. * Need to use data attribute because a regular ID somehow interferes with Divi. * * @divi-module Search */ $(‘.et_pb_search’).each(function (e) { $(this).attr(‘data-da11y-id’, ‘et_pb_search_module_’ + e); }); /** * Add aria-required=”true” to inputs. * * @divi-module Contact Form */ $(‘[data-required_mark=”required”]’).each(function () { $(this).attr(‘aria-required’, ‘true’); }); /** * Hide hidden error field on contact form. * * @divi-module Contact Form */ $(‘.et_pb_contactform_validate_field’).attr(‘type’, ‘hidden’); /** * Add alert role to error or success contact form message * * @divi-module Contact Form */ $(‘.et-pb-contact-message’).attr(‘role’, ‘alert’); /** * Add main role to main-content */ $(‘#main-content’).attr(‘role’, ‘main’); /** * Add aria-label=”x”. * * @divi-module Fullwidth header, comment-wrap */ $(‘.et_pb_fullwidth_header’).each(function (e) { $(this).attr(‘aria-label’, ‘Wide Header’ + e); }); $(‘#comment-wrap’).attr(‘aria-label’, ‘Comments’); }); ]]>

Source

READ  Secret ingredients behind the breakthrough Covid vaccines

Leave a Reply

%d bloggers like this: