| @@ -64,9 +64,9 @@ | ||
| 64 | 64 | */ |
| 65 | 65 | protected function get_default_settings() { |
| 66 | 66 | return [ |
| 67 | 67 | 'label_block' => true, |
| 68 | - 'placeholder' => esc_html__( 'Type or paste your URL', 'elementor' ), | |
| 68 | + 'placeholder' => esc_html__( 'Paste URL or type', 'elementor' ), | |
| 69 | 69 | 'autocomplete' => true, |
| 70 | 70 | 'options' => [ 'is_external', 'nofollow', 'custom_attributes' ], |
| 71 | 71 | 'dynamic' => [ |
| 72 | 72 | 'categories' => [ TagsModule::URL_CATEGORY ], |
| @@ -99,10 +99,11 @@ | ||
| 99 | 99 | <input id="<?php $this->print_control_uid(); ?>" class="elementor-control-tag-area elementor-input" data-setting="url" placeholder="{{ view.getControlPlaceholder() }}" /> |
| 100 | 100 | <?php // PHPCS - Nonces don't require escaping. ?> |
| 101 | 101 | <input id="_ajax_linking_nonce" type="hidden" value="<?php echo wp_create_nonce( 'internal-linking' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>" /> |
| 102 | 102 | <# if ( !! data.options ) { #> |
| 103 | - <button class="elementor-control-url-more tooltip-target elementor-control-unit-1" data-tooltip="<?php echo esc_attr__( 'Link Options', 'elementor' ); ?>" aria-label="<?php echo esc_attr__( 'Link Options', 'elementor' ); ?>"> | |
| 103 | + <button class="elementor-control-url-more tooltip-target elementor-control-unit-1" data-tooltip="<?php echo esc_attr__( 'Link Options', 'elementor' ); ?>"> | |
| 104 | 104 | <i class="eicon-cog" aria-hidden="true"></i> |
| 105 | + <span class="elementor-screen-only"><?php echo esc_html__( 'Link Options', 'elementor' ); ?></span> | |
| 105 | 106 | </button> |
| 106 | 107 | <# } #> |
| 107 | 108 | </div> |
| 108 | 109 | <# if ( !! data.options ) { #> |
| @@ -114,9 +115,9 @@ | ||
| 114 | 115 | <div class="elementor-control-url-option"> |
| 115 | 116 | <input id="<?php $this->print_control_uid( 'nofollow' ); ?>" type="checkbox" class="elementor-control-url-option-input" data-setting="nofollow"> |
| 116 | 117 | <label for="<?php $this->print_control_uid( 'nofollow' ); ?>"><?php echo esc_html__( 'Add nofollow', 'elementor' ); ?></label> |
| 117 | 118 | </div> |
| 118 | - <div class="elementor-control-url__custom-attributes elementor-control-direction-ltr"> | |
| 119 | + <div class="elementor-control-url__custom-attributes"> | |
| 119 | 120 | <label for="<?php $this->print_control_uid( 'custom_attributes' ); ?>" class="elementor-control-url__custom-attributes-label"><?php echo esc_html__( 'Custom Attributes', 'elementor' ); ?></label> |
| 120 | 121 | <input type="text" id="<?php $this->print_control_uid( 'custom_attributes' ); ?>" class="elementor-control-unit-5" placeholder="key|value" data-setting="custom_attributes"> |
| 121 | 122 | </div> |
| 122 | 123 | <# if ( ( data.options && -1 !== data.options.indexOf( 'custom_attributes' ) ) && data.custom_attributes_description ) { #> |