The buttons do not have accessible names

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.

Upvoters
Status

In Review

Board
πŸ’‘

Feature Request

Date

Almost 2 years ago

Author

Enri

Subscribe to post

Get notified by email when there are changes.