one-click-accessibility/modules/settings/assets/js/helpers/accessibility-statement.js
Nirbhay Singh cd6a7e854e
[APP-908] Accessibility generator (#131)
* add: accessibility statement radio icons

* update: add form group on radio buttons

* add: statement generator

* add: statement generator

* add: accessibility statement data option

* update: create page in WordPress and save it to the option

* update: exclude zip file from the git

* update: render statement page conditionally

* add: statement link layout and settings

* add: preload statement data

* update: publish the created page and add link for it

* update: changed Dynamic Script Loader to WidgetLoader

* add: accessibility statement url

* update: text and styling

* update: styling of the preview text

* update: restructure statement generator

* add: support for dynamic update in statement links

* update: remove index.css file for widget loader

* add: widget styling for settings page

* add: empty link when hide link is enabled

* update: statement page structure and logic

* fix: typo

* update: convert component into a styled component

* fix: styling and layout

* update: icons

* update: convert radio buttons to styled component

* fix: typo and style

* add: fading for the link preview

* update: import

* update: styling and spacing

* fix: sidebar layout

* update: wpcs to latest version

* fix: spacing

* fix: wpcs version

* add: check for valid statement page

* fix: jitters on rendering

* fix: use escape attribute

* update: settings menu slug and plugin name

* fix: menu item rendering

* update: definition of the styled text field

* add: addPage function to the API

* fix: add notification on page creation

* add: copy link icon

* update: optimize SVGs
2025-01-13 09:09:55 +02:00

34 lines
1.7 KiB
JavaScript

export const Statement = `
<!-- wp:heading {"level":6} -->
<h6>Accessibility Statement for {company_website}</h6>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>{company_name} is committed to ensuring digital accessibility for people with disabilities. We are continually improving the user experience for everyone and applying the relevant accessibility standards.</p>
<!-- /wp:paragraph -->
<!-- wp:heading {"level":6} -->
<h6>Conformance status</h6>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>The Web Content Accessibility Guidelines (WCAG) defines requirements for designers and developers to improve accessibility for people with disabilities. It defines three levels of conformance: Level A, Level AA, and Level AAA.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>As of the date of this statement, {company_name} website is partially conformant with WCAG 2.2 level AA. Partially conformant means that some parts of the content do not fully conform to the accessibility standard.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>We are currently working on remediating our website to ensure the best quality usability for all of our users.</p>
<!-- /wp:paragraph -->
<!-- wp:heading {"level":6} -->
<h6>Feedback</h6>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>We welcome your feedback on the accessibility of {company_name} website. Please let us know if you encounter accessibility barriers on our website:</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>E-mail: {company_email}</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>We try to respond to feedback within 3-5 business days.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>This statement was created on {current_date}. </p>
<!-- /wp:paragraph -->`;