top of page

The purpose of the following template is to assist you in writing your accessibility statement. Please note that you are responsible for ensuring that your site's statement meets the requirements of the local law in your area or region.

*Note: This page currently has several sections. Once you complete editing the Accessibility Statement below, you need to delete this section.

To learn more about this, check out our article “Accessibility: Adding an Accessibility Statement to Your Site”.

Accessibility Statement

This statement was last updated on [enter relevant date].

We at [enter organization / business name] are working to make our site [enter site name and  address] accessible to people with disabilities.

What web accessibility is

An accessible site allows visitors with disabilities to browse the site with the same or a similar level of ease and enjoyment as other visitors. This can be achieved with the capabilities of the system on which the site is operating, and through assistive technologies.

Accessibility Adjustments on This Site

We have adapted this site in accordance with WCAG [2.0 / 2.1 / 2.2 - select relevant option] guidelines, and have made the site accessible to the level of [A / AA / AAA - select relevant option]. This site's contents have been adapted to work with assistive technologies, such as screen readers and keyboard use. As part of this effort, we have also [remove irrelevant information]:
 

  • Used the Accessibility Wizard to find and fix potential accessibility issues

  • Set the language of the site 

  • Set the content order of the site’s pages

  • Defined clear heading structures on all of the site’s pages

  • Added alternative text to images

  • Implemented color combinations that meet the required color contrast

  • Reduced the use of motion on the site

  • Ensured all videos, audio, and files on the site are accessible

Declaration of Partial Compliance With the Standard Due to Third-Party Content [only add if relevant]

The accessibility of certain pages on the site depend on contents that do not belong to the organization, and instead belong to [enter relevant third-party name]. The following pages are affected by this: [list the URLs of the pages]. We therefore declare partial compliance with the standard for these pages.

Accessibility Arrangements in the Organization [only add if relevant]

[Enter a description of the accessibility arrangements in the physical offices / branches of your site's organization or business. The description can include all current accessibility arrangements  - starting from the beginning of the service (e.g., the parking lot and / or  public transportation stations) to the end (such as the service desk, restaurant table, classroom etc.). It is also required to specify any additional accessibility arrangements, such as disabled services and their location, and accessibility accessories (e.g. in audio inductions and elevators) available for use]

Requests, Issues, and Suggestions

If you find an accessibility issue on the site, or if you require further assistance, you are welcome to contact us through the organization's accessibility coordinator:

  • [Name of the accessibility coordinator]

  • [Telephone number of the accessibility coordinator]

  • [Email address of the accessibility coordinator]

  • [Enter any additional contact details if relevant / available]

bottom of page
/** * Mitko Health — native bridge helpers * * Paste this file's contents into a Wix "Custom Code" embed (loaded on all * pages, in the Body - end section) OR into the specific HTML embed on the * bariatric tracker / document upload pages. * * These functions check whether the page is running inside the Mitko Health * iOS app (Capacitor). If so, they use native camera / file / share sheet * APIs. If the same page is opened in a normal browser (desktop or mobile * Safari outside the app), they silently fall back to standard web behavior. * No page needs two versions — call these functions everywhere and they * do the right thing based on context. */ window.MitkoBridge = (function () { const isNativeApp = () => typeof window.Capacitor !== 'undefined' && window.Capacitor.isNativePlatform && window.Capacitor.isNativePlatform(); /** * Take or choose a photo. * Returns a Promise resolving to a base64 data URL string. * Use case: incision-site check photos, meal photos for bariatric tracker. * * source: 'camera' | 'photos' | 'prompt' (prompt shows both options) */ async function takePhoto(source = 'prompt') { if (isNativeApp()) { const { Camera, CameraResultType, CameraSource } = window.Capacitor.Plugins; const sourceMap = { camera: CameraSource.Camera, photos: CameraSource.Photos, prompt: CameraSource.Prompt }; const photo = await Camera.getPhoto({ quality: 80, resultType: CameraResultType.DataUrl, source: sourceMap[source] || CameraSource.Prompt, allowEditing: false }); return photo.dataUrl; } // Browser fallback: standard file input with capture attribute return new Promise((resolve, reject) => { const input = document.createElement('input'); input.type = 'file'; input.accept = 'image/*'; if (source === 'camera') input.capture = 'environment'; input.onchange = () => { const file = input.files && input.files[0]; if (!file) return reject(new Error('No file selected')); const reader = new FileReader(); reader.onload = () => resolve(reader.result); reader.onerror = reject; reader.readAsDataURL(file); }; input.click(); }); } /** * Write a file (e.g. a filled PFML PDF) to a temporary cache location just * long enough to hand it to the share sheet, and return its path. This is * NOT permanent storage — it uses the Cache directory (not visible in the * Files app, and iOS may clear it automatically). Nothing is retained * after the user shares or dismisses the share sheet. * data: base64 string (no data: prefix) * fileName: e.g. 'PFML-Application.pdf' */ async function saveFile(data, fileName) { if (isNativeApp()) { const { Filesystem, Directory } = window.Capacitor.Plugins; const result = await Filesystem.writeFile({ path: fileName, data: data, directory: Directory.Cache }); return result.uri; } // Browser fallback: trigger a normal download const link = document.createElement('a'); link.href = `data:application/pdf;base64,${data}`; link.download = fileName; document.body.appendChild(link); link.click(); document.body.removeChild(link); return null; } /** * Open the native share sheet (Messages, Mail, AirDrop, Drive, etc.) * for a file already saved via saveFile(), or for a plain text/link share. */ async function shareFile({ title, text, url, filePath }) { if (isNativeApp()) { const { Share } = window.Capacitor.Plugins; await Share.share({ title: title || 'Mitko Health', text: text || '', url: filePath || url || '', dialogTitle: title || 'Share' }); return; } // Browser fallback: use Web Share API if available, else no-op if (navigator.share) { await navigator.share({ title, text, url }); } else { console.warn('Sharing is not supported in this browser. Use the download link instead.'); } } /** * Delete a file previously written by saveFile(). Call this right after * shareFile() completes so nothing lingers in the app's cache. */ async function deleteTempFile(fileName) { if (!isNativeApp()) return; const { Filesystem, Directory } = window.Capacitor.Plugins; try { await Filesystem.deleteFile({ path: fileName, directory: Directory.Cache }); } catch (err) { // Already gone or never existed — fine to ignore. } } return { isNativeApp, takePhoto, saveFile, shareFile, deleteTempFile }; })();