one-click-accessibility/assets/dev/js/constants/index.js
matviy-yermakov bad6a27bcb
[APP-2894] - One Migration flow: Move Accessibillity to One (#565)
* APP-2894 One Migration flow: Move Accessibillity to One

* Added mixpanel events for one_migration_popup_displayed and one_migration_button_clicked actions
2026-06-24 10:19:30 +02:00

41 lines
1.8 KiB
JavaScript

import { __ } from '@wordpress/i18n';
export const GOLINKS = {
UPGRADE_80: 'https://go.elementor.com/acc-80-quota',
UPGRADE_95: 'https://go.elementor.com/acc-95-quota',
UPGRADE_100: 'https://go.elementor.com/acc-100-quota',
SCREEN_READER_ICON: 'https://go.elementor.com/acc-screen-reader-icon',
SCREEN_READER_TOGGLE: 'https://go.elementor.com/acc-screen-reader-toggle',
ALLY_LABEL_ICON: 'https://go.elementor.com/acc-label-icon',
ALLY_LABEL_TOGGLE: 'https://go.elementor.com/acc-label-toggle',
ANALYTICS_POPUP: 'https://go.elementor.com/acc-stats-popup',
ADD_VISITS: 'https://go.elementor.com/acc-add-visits',
HELP: 'https://go.elementor.com/acc-main-help',
LEARN_MORE_STATEMENT: 'https://go.elementor.com/acc-statement-learn-more',
UPGRADE: 'https://go.elementor.com/acc-upgrade',
HELP_FEEDBACK: 'https://go.elementor.com/acc-assistant-feedback',
MANAGE_SUBSCRIPTION:
'https://my.elementor.com/account-settings/purchases/subscriptions/{subscriptionId}/',
};
export const ELEMENTOR_URL = 'https://my.elementor.com';
export const ONE_MISMATCH_URL =
'/wp-admin/admin.php?page=elementor-home#/home/url-mismatch';
export const TOOL_MANAGER_URL =
'/wp-admin/admin.php?page=elementor-home#/home/tool-manager';
export const BLOCK_TITLES = {
altText: __('Alternative text', 'pojo-accessibility'),
dynamicContent: __('Dynamic Content & ARIA', 'pojo-accessibility'),
formsInputsError: __('Forms & Input Errors', 'pojo-accessibility'),
keyboardAssistiveTech: __(
'Keyboard & Assistive Technologies',
'pojo-accessibility',
),
pageStructureNav: __('Page Structure & Navigation', 'pojo-accessibility'),
headingStructure: __('Heading Structure', 'pojo-accessibility'),
tables: __('Tables', 'pojo-accessibility'),
colorContrast: __('Color contrast', 'pojo-accessibility'),
other: __('Other Accessibility Issues', 'pojo-accessibility'),
};