to increase your Accessibility score Pagespeed
ADD
'aria-label' => escattr_( 'Scroll to top', 'jupiterx-core' ),
jupiterxaddsmartaction( 'jupiterxfooteraftermarkup', 'jupiterxscrolltop_button' );
/**
Echo the scroll top button content.
*
@since 1.0.0
*
@return void
*/
function jupiterxscrolltop_button() {
if ( ! get_theme_mod( 'jupiterx_site_scroll_top', true ) || jupiterx_check_default() ) { return;}jupiterx_open_markup_e( 'jupiterx_corner_buttons', 'div', [ 'class' => 'jupiterx-corner-buttons', 'data-jupiterx-scroll' => wp_json_encode( [ 'offset' => 1000 ] ),] ); jupiterx_open_markup_e( 'jupiterx_scroll_top_button', 'button', [ 'class' => 'jupiterx-scroll-top jupiterx-icon-angle-up', 'aria-label' => esc_attr__( 'Scroll to top', 'jupiterx-core' ), 'data-jupiterx-scroll-target' => 0, ] ); jupiterx_close_markup_e( 'jupiterx_scroll_top_button', 'button' );jupiterx_close_markup_e( 'jupiterx_corner_buttons', 'div' );}
Please authenticate to join the conversation.
In Review
Feature Request
Almost 2 years ago

Enri
Get notified by email when there are changes.
In Review
Feature Request
Almost 2 years ago

Enri
Get notified by email when there are changes.